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 Thu, 26 May 2011 15:17:00 GMT


Mark Harwood commented on LUCENE-2454:

Mike - having thought about it moving the per-parent grouping logic to a collector removes
some of the functionality I am used to.
I often use multiple PerParentLimitedQuery clauses in the same query to limit different aspects
of the structures I query e.g. for each best parent document I may want the best 5 children
of type A and the best 10 children of type B. Type "A" docs are of a different size and shape
to type "B" - hence the need for different limits. I realise this can be done with multiple
searches using different collectors each time but I use distributed servers that service all
XML-based queries the same way. In these sorts of environments it is desirable to maintain
a common query API (e.g. the XML syntax) and not introduce the need for special collectors
to service different types of queries. 

Paul, not sure on the exact details of your query (a parent with a child containing A and
B or a parent with a child containing A and a potentially different child containing B?) I
suspect a test case would help.

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

This message is automatically generated by JIRA.
For more information on JIRA, see:

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

View raw message