You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Thomas Wöckinger (JIRA)" <ji...@apache.org> on 2019/03/18 23:26:00 UTC

[jira] [Commented] (SOLR-13331) Atomic Update Multivalue remove does not work

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

Thomas Wöckinger commented on SOLR-13331:
-----------------------------------------

The interesting lines of code are from 399 to 403 in class AtomicUpdateDocumentMerger.

I think the toNativeType has to tread the conversation from ByteArrayUtf8CharSequence to String

> Atomic Update Multivalue remove does not work
> ---------------------------------------------
>
>                 Key: SOLR-13331
>                 URL: https://issues.apache.org/jira/browse/SOLR-13331
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: UpdateRequestProcessors
>    Affects Versions: 7.7, 7.7.1, 8.0
>         Environment: Standalone Solr Server
>            Reporter: Thomas Wöckinger
>            Priority: Critical
>
> When using JavaBinCodec the values of collections are of type ByteArrayUtf8CharSequence, existing field values are Strings so the remove Operation does not have any effect.
> The relevant code is located in class AtomicUpdateDocumentMerger method doRemove.
> The method parameter fieldVal contains the collection values of type ByteArrayUtf8CharSequence, the variable original contains the collection of Strings



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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