msokolov commented on issue #15005:
URL: https://github.com/apache/lucene/issues/15005#issuecomment-3140252612

   @ChrisHegarty thanks for the description of the failure case. One thing that 
seems weird to me here is the way the query behaves in the case of child docs 
that have no parent (ie orphans). For example if you have docs:
   
   0, 1 (parent), 2
   
   Then 2 is an orphan in my description since it has no parents (parents come 
after children). The query seems to return 2 as a valid result, but I'm not 
sure if it is supposed to or not. 
   
   Another strange thing about this query is that its behavior is not 
well-defined when the parent documents have vector values in the same field as 
the child documents.  In that case, an assertion is triggered, and I'm not sure 
what happens when assertions are disabled.
   
   Returning to the description: in the failed Elasticsearch test case, do you 
mean that Segment 2 has two docs (a parent and its single child) or really has 
only one doc (an orphaned child)? Similarly in Segment 1, what is the 
parent/child structure? It sounds to me there are 7 docs in all?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to