lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Harwood (JIRA)" <>
Subject [jira] Commented: (LUCENE-2454) Nested Document query support
Date Sat, 26 Jun 2010 23:12:51 GMT


Mark Harwood commented on LUCENE-2454:

bq. Can this help in searching over multiple child/nested documents?

Yes, a typical use case is to use "NestedDocumentQuery" to fetch the top 10 parents then do
a second query to fetch the children using a mandatory clause which lists the primary keys
of the selected parents (assuming the children have an indexed field with the parent primary
The "PerParentLimitedQuery" can be used to limit the number of child docs returned per parent
if there are many e.g. pages in a book. Both these classes are in the zipped attachment to
this issue.

> 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