[
https://issues.apache.org/jira/browse/LUCENE-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000541#comment-13000541
]
Mark Harwood commented on LUCENE-2454:
--------------------------------------
I'm not sure the auto-repair is that trivial.
Let's say the parent/child docs are resumes and nested docs for employment
positions (as in the attached example).
An update may not just be adding a new "employment position" doc but editing an
existing one, deleting an old one etc.
Your auto-updater is going to need to do a lot of figuring out to work out
which existing docs need copying over from earlier segments and patching in to
the new segment with the updated parts of the resume. This gets worse if we
start to consider multiple levels to the hierarchy.
It all feels like a lot of work for the IndexWriter to take on?
> 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.
-
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]