Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UpsertCondition due to Solr 7 encoding of String types in javabin… #66

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

timatbw
Copy link

@timatbw timatbw commented Mar 27, 2024

… format.

This relates to a change in behaviour introduced in SOLR-12983 which affected how javabin encodes strings, they are ByteArrayUtf8CharSequence and not String objects (but both are CharSequence). A similar problem with UpdateRequestProcessors was noted and fixed in SOLR-13255 but that did not fix the case of Atomic Updates where the field is a Map from operation->value and hence the value was not a String anymore, but a ByteArrayUtf8CharSequence.

… format.

This relates to a change in behaviour introduced in SOLR-12983 which affected how javabin encodes
strings, they are ByteArrayUtf8CharSequence and not String objects (but both are CharSequence). A
similar problem with UpdateRequestProcessors was noted and fixed in SOLR-13255 but that did not
fix the case of Atomic Updates where the field is a Map from operation->value and hence the value
was not a String anymore, but a ByteArrayUtf8CharSequence.
@timatbw timatbw merged commit 9139219 into BrandwatchLtd:bw_branch_7_7_3 Mar 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants