Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
I wrote this patch after seeing the comments left by mikemccand when SortingStoredFieldsConsumer class was first created.
@Override public void binaryField(FieldInfo fieldInfo, byte[] value) throws IOException { ... // TODO: can we avoid new BR here? ... } @Override public void stringField(FieldInfo fieldInfo, byte[] value) throws IOException { ... // TODO: can we avoid new String here? ... }
I changed two things.
1) change binaryField() parameters from byte[] to BytesRef.
2) change stringField() parameters from byte[] to String.
I also changed the related contents while doing the work.
Attachments
Attachments
Issue Links
- causes
-
SOLR-16589 Large fields with large="true" can be truncated when using unicode values
- Closed