You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Text class to use native java ByteBuffer (#127666) (#127925)
This PR is a precursor to #126492.
It does three things:
- Move org.elasticsearch.common.text.Text from :server to
org.elasticsearch.xcontent.Text in :libs:x-content.
- Refactor the Text class to use a java-native ByteBuffer instead
of the elasticsearch BytesReference.
- Add the XContentString interface, with the Text class implementing
that interface.
(cherry picked from commit db0c3c7)
# Conflicts:
# server/src/main/java/org/elasticsearch/search/fetch/subphase/highlight/DefaultHighlighter.java
# server/src/test/java/org/elasticsearch/common/xcontent/BaseXContentTestCase.java
# server/src/test/java/org/elasticsearch/search/fetch/subphase/highlight/HighlightFieldTests.java
# test/framework/src/main/java/org/elasticsearch/search/SearchResponseUtils.java
0 commit comments