[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to