Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.6.2, 6.6.5, 7.6, 7.7, 7.7.1, 8.0
-
EmbeddedSolrServer, HttpSolrClient when using RequestWriter instead of BinaryRequestWriter
Description
If XMLLoader is used to build SolrInputDocuments Enum values are treated as String values and not as EnumFieldValue like it is done by the binary codec.
So the doRemove call of AtomicUpdateDocumentMerger will get String values which does not match any EnumFieldValue from the existingField values.
The behaviour can be tested easily with the EmbeddedSolrServer because it uses the XML codec to convert the SolrRequest.
Just create a multivalued EnumField add some values and try to remove some with
atomic update calls.
The values will remain unchanged.
Attachments
Issue Links
- is blocked by
-
SOLR-13539 Atomic Update Multivalue remove does not work for field types UUID, Enums, Bool and Binary
- Resolved
-
SOLR-13762 Support binary values when using XMLCodec
- Closed
- links to