lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Updated] (LUCENE-2454) Nested Document query support
Date Mon, 23 May 2011 16:23:48 GMT


Michael McCandless updated LUCENE-2454:

    Attachment: LUCENE-2454.patch

Attached patch, pulling out just NestedDocumentQuery from the zip

  * I put NestedDocumentQuery and its test case in contrib/queries,

  * Changed scoreMode to final int that's passed to ctor

  * Brought everything up to current trunk (scoring is per-segment,
    etc.).this also moves parentBits (previously mutable on the
    original query) into the scorer

  * Simplified the test case -- instead of parsing XHTML resumes it
    just directly builds up a toy example of parent+child docs.

  * Removed @author tags, fixed code style (indent to 2 spaces, {}s,
    newlines, etc.), etc.

I put a few nocommits in that still need resolving...

My patch doesn't include XMLQueryParser integration; I think we should
do this as separate issue?

I think PerParentLimitedQuery is the same functionality as grouping,
right?  Except, it only supports relevance withinGroup sort, but it
operates only w/ a parent filter (whereas our grouping impls so far
require a more-RAM-costly DocTermsIndex FC entry of the field you are
grouping on).  I think we should somehow merge this w/ the single pass
grouping collector (LUCENE-3129)?

> 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