[ https://issues.apache.org/jira/browse/SOLR-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ishan Chattopadhyaya updated SOLR-5944: --------------------------------------- Attachment: SOLR-5944.patch Here's an early patch where I'm just attempting to modify DirectUpdateHandler2 to do an in-place update to a document for which the only fields to update are stored=false, indexed=false, docValues=true. However, I'm stuck with the unit test for this. Whenever I run the unit test (added in the patch), about 40% of the times it passes, 40% of the time it fails (the default docvalues are used, not the updated ones) and 20% of the time I'm hitting the lucene3x codecs issue (as noted by Mikhail [0] in LUCENE-5189), even though I've explicitly suppressed "lucene3x". When Solr runs as a server, I manually test that I'm able to update the NDVs via the update request handler's REST endpoint and updated values are immediately reflected for sorting queries. I am wondering if there is some fundamental issue with the approach taken in the patch, or if there's some issue with the test setup (or both). Help and feedback are most welcome! If I can get the tests to pass, I can begin to address various other corner cases and issues with replication etc. [0] - https://issues.apache.org/jira/browse/LUCENE-5189?focusedCommentId=13958205&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13958205 > 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 > Attachments: 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.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org