Incorrect child querying in solr

93 Views Asked by At

Does anyone know what's the problem when solr does not return the correct result when querying child docs? My query is:

q = {!parent which="path:2.Project.Submission AND Submission_No:1234"}path:3.Project.Submission.Agency AND Agency_Cd:AGY

The expected result is 0 since Submission_No:1234 has a child doc with Agency_Cd:QWE but the solr shows the Submission_No:1234 with child doc Agency_Cd:QWE

Please take note that this parent-child is on the second and third level of the nested documents.

0

There are 0 best solutions below