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

Sivan Yogev commented on LUCENE-4258:
-------------------------------------

Seems like in any case we need to have a separation between fields given with 
UPDATE_FIELD and REPLACE_FIELD. There are two ways I could think of for 
implementing this separation. 

The first is at the segment level, where we can have separate "update" and 
"replace" segments, where the semantic is that a field in an "update" segment 
is merged with fields in previous segments, while a field in a "replace" 
segment ignores previous segments.

The second option is to separate at the field level, choosing one type as the 
default behavior (maybe this can be configurable) and marking the fields of the 
non-default type by altering the field name or some other solution.

I lean towards the segment level separation, since it requires less conventions 
and will probably require less work for Codec implementations to handle.
                
> Incremental Field Updates through Stacked Segments
> --------------------------------------------------
>
>                 Key: LUCENE-4258
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4258
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Sivan Yogev
>   Original Estimate: 2,520h
>  Remaining Estimate: 2,520h
>
> Shai and I would like to start working on the proposal to Incremental Field 
> Updates outlined here (http://markmail.org/message/zhrdxxpfk6qvdaex).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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

Reply via email to