[ https://issues.apache.org/jira/browse/LUCENE-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Elschot updated LUCENE-2454: --------------------------------- Comment: was deleted (was: One of the nocommits in the patch is about the use of an Filter for the parent filter. NestedDocumentQuery uses an OpenBitSet from this Filter for next() and advance() just like a Filter and also as a parent filter. So how about adding sth like this: {code} public abstract class ParentFilter { public abstract ParentDISI getParentDISI(IndexReader reader); } public abstract class ParentDISI extends DocIdSetIterator { public abstract int getParent(); // to be used only after next() or advance() returned <> NO_MORE_DOCS } {code} together with another constructor for NestedDocumentQuery with a ParentFilter argument? ) > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org