lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buddika Gajapala (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2454) Nested Document query support
Date Fri, 16 Jul 2010 15:48:53 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889215#action_12889215
] 

Buddika Gajapala commented on LUCENE-2454:
------------------------------------------

Mark, that was fast :)

BTW another scenario, when there are lot of data, there is a posibility of having parent docuemnt
and matching child document in two different segments causing to miss some matches. I made
a minor modification your approch by making it do a "Forward-scan" instead of reverse scan
for parent docs and have the parent document inserted AFTER the child docs are inserted and
in case of parent doc is located outside the scop of current doc, it's docid is preserved
at the "Weight Object" level and nextDoc() modified to check fo that for the very 1st nextDoc
call to new segment.

> Nested Document query support
> -----------------------------
>
>                 Key: LUCENE-2454
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2454
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 3.0.2
>            Reporter: Mark Harwood
>            Assignee: Mark Harwood
>            Priority: Minor
>         Attachments: 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message