Package org.elasticsearch.search.fetch.subphase.highlight
package org.elasticsearch.search.fetch.subphase.highlight
Fetch sub phase that extracts significant portions of string fields, marking the matches. Pluggable by implementing
Highlighter
and
SearchPlugin.getHighlighters()
.-
ClassDescriptionAbstractHighlighterBuilder<HB extends AbstractHighlighterBuilder<?>>This abstract class holds parameters shared by
HighlightBuilder
andHighlightBuilder.Field
and provides the common setters, equality, hashCode calculation and common serializationSimple helper class forFastVectorHighlighter
FragmentsBuilder
implementations.A builder for search highlighting.A field highlighted with its highlighted fragments.This analyzer limits the highlighting once it sees a token with a start offset <= the configured limit, which won't pass and will end the stream.Direct Subclass of Lucene's org.apache.lucene.search.vectorhighlight.SimpleFragmentsBuilder that corrects offsets for broken analysis chains.