lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buddika Gajapala (JIRA)" <>
Subject [jira] Commented: (LUCENE-2454) Nested Document query support
Date Fri, 16 Jul 2010 15:48:53 GMT


Buddika Gajapala commented on LUCENE-2454:

Mark, that was fast :)

BTW another scenario, when there are lot of data, there is a posibility of having parent docuemnt
and matching child document in two different segments causing to miss some matches. I made
a minor modification your approch by making it do a "Forward-scan" instead of reverse scan
for parent docs and have the parent document inserted AFTER the child docs are inserted and
in case of parent doc is located outside the scop of current doc, it's docid is preserved
at the "Weight Object" level and nextDoc() modified to check fo that for the very 1st nextDoc
call to new segment.

> Nested Document query support
> -----------------------------
>                 Key: LUCENE-2454
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 3.0.2
>            Reporter: Mark Harwood
>            Assignee: Mark Harwood
>            Priority: Minor
>         Attachments:
> A facility for querying nested documents in a Lucene index as outlined in

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message