Class HighlightUtils
java.lang.Object
org.elasticsearch.search.fetch.subphase.highlight.HighlightUtils
public final class HighlightUtils
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HighlightUtils.Encoders
-
Field Summary
Fields Modifier and Type Field Description static char
NULL_SEPARATOR
static char
PARAGRAPH_SEPARATOR
-
Method Summary
Modifier and Type Method Description static java.util.List<java.lang.Object>
loadFieldValues(MappedFieldType fieldType, SearchExecutionContext searchContext, FetchSubPhase.HitContext hitContext, boolean forceSource)
Load field values for highlighting.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
PARAGRAPH_SEPARATOR
public static final char PARAGRAPH_SEPARATOR- See Also:
- Constant Field Values
-
NULL_SEPARATOR
public static final char NULL_SEPARATOR- See Also:
- Constant Field Values
-
-
Method Details
-
loadFieldValues
public static java.util.List<java.lang.Object> loadFieldValues(MappedFieldType fieldType, SearchExecutionContext searchContext, FetchSubPhase.HitContext hitContext, boolean forceSource) throws java.io.IOExceptionLoad field values for highlighting.- Throws:
java.io.IOException
-