You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2014/11/18 17:42:35 UTC

[jira] [Commented] (SOLR-5944) Support updates of numeric DocValues

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

Yonik Seeley commented on SOLR-5944:
------------------------------------

I was just chatting with Shalin while we were both at ApacheCon.  In addition to leader->replica reordering issues,
we also need to handle realtime-get in the single-node case.  The way to do this is just add the update to the tlog like normal (with some indication that it's a partial update and doesn't contain all the fields).   When /get is invoked and we find an update from the in-memory tlog map for that document, we need to go through the same logic as a soft commit (open a new realtime-searcher and clear the tlog map), and then use the realtime-searcher to get the latest document.

Oh, and _version_ will need to use DocValues so it can be updated at the same time of course.

> Support updates of numeric DocValues
> ------------------------------------
>
>                 Key: SOLR-5944
>                 URL: https://issues.apache.org/jira/browse/SOLR-5944
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Shalin Shekhar Mangar
>         Attachments: SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch
>
>
> LUCENE-5189 introduced support for updates to numeric docvalues. It would be really nice to have Solr support this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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