[
https://issues.apache.org/jira/browse/LUCENE-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-2454:
---------------------------------------
Attachment: LUCENE-2454.patch
Attached patch, pulling out just NestedDocumentQuery from the zip
file:
* I put NestedDocumentQuery and its test case in contrib/queries,
under oal.search.nested
* 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: https://issues.apache.org/jira/browse/LUCENE-2454
> 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, LuceneNestedDocumentSupport.zip
>
>
> A facility for querying nested documents in a Lucene index as outlined in
> http://www.slideshare.net/MarkHarwood/proposal-for-nested-document-support-in-lucene
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]