mirror of
https://github.com/apache/lucene.git
synced 2025-03-01 05:49:33 +00:00
The racent change introducing ByteArrayUtf8CharSequence altered the NamedLists produced by atomic-update requests so that they include instances of this class for requests coming in as javabin. This is a problem for 'remove' atomic-updates, which need to be able to compare these ByteArrayUtf8CharSequence instances with existing field values represented as Strings. equals() would always return false, and 'remove' operations would have no effect. This commit converts items as necessary to allow atomic-update operations to work as expected.