Package | Description |
---|---|
org.elasticsearch.action.search |
Search action.
|
org.elasticsearch.index.query.support | |
org.elasticsearch.search.aggregations.metrics.tophits | |
org.elasticsearch.search.highlight |
Modifier and Type | Method and Description |
---|---|
SearchRequestBuilder |
SearchRequestBuilder.addHighlightedField(HighlightBuilder.Field field)
Adds a highlighted field.
|
Modifier and Type | Method and Description |
---|---|
T |
BaseInnerHitBuilder.addHighlightedField(HighlightBuilder.Field field)
Adds a highlighted field.
|
Modifier and Type | Method and Description |
---|---|
TopHitsBuilder |
TopHitsBuilder.addHighlightedField(HighlightBuilder.Field field)
Adds a highlighted field.
|
Modifier and Type | Method and Description |
---|---|
HighlightBuilder.Field |
HighlightBuilder.Field.boundaryChars(char[] boundaryChars) |
HighlightBuilder.Field |
HighlightBuilder.Field.boundaryMaxScan(int boundaryMaxScan) |
HighlightBuilder.Field |
HighlightBuilder.Field.forceSource(boolean forceSource)
Forces the highlighting to highlight this field based on the source even if this field is stored separately.
|
HighlightBuilder.Field |
HighlightBuilder.Field.fragmenter(String fragmenter)
Sets what fragmenter to use to break up text that is eligible for highlighting.
|
HighlightBuilder.Field |
HighlightBuilder.Field.fragmentOffset(int fragmentOffset) |
HighlightBuilder.Field |
HighlightBuilder.Field.fragmentSize(int fragmentSize) |
HighlightBuilder.Field |
HighlightBuilder.Field.highlighterType(String highlighterType)
Set type of highlighter to use.
|
HighlightBuilder.Field |
HighlightBuilder.Field.highlightFilter(boolean highlightFilter) |
HighlightBuilder.Field |
HighlightBuilder.Field.highlightQuery(QueryBuilder highlightQuery)
Sets a query to use for highlighting this field instead of the search query.
|
HighlightBuilder.Field |
HighlightBuilder.Field.matchedFields(String... matchedFields)
Set the matched fields to highlight against this field data.
|
HighlightBuilder.Field |
HighlightBuilder.Field.noMatchSize(Integer noMatchSize)
Sets the size of the fragment to return from the beginning of the field if there are no matches to
highlight.
|
HighlightBuilder.Field |
HighlightBuilder.Field.numOfFragments(int numOfFragments) |
HighlightBuilder.Field |
HighlightBuilder.Field.options(Map<String,Object> options)
Allows to set custom options for custom highlighters.
|
HighlightBuilder.Field |
HighlightBuilder.Field.order(String order)
The order of fragments per field.
|
HighlightBuilder.Field |
HighlightBuilder.Field.phraseLimit(Integer phraseLimit)
Sets the maximum number of phrases the fvh will consider.
|
HighlightBuilder.Field |
HighlightBuilder.Field.postTags(String... postTags)
Explicitly set the post tags for this field that will be used for highlighting.
|
HighlightBuilder.Field |
HighlightBuilder.Field.preTags(String... preTags)
Explicitly set the pre tags for this field that will be used for highlighting.
|
HighlightBuilder.Field |
HighlightBuilder.Field.requireFieldMatch(boolean requireFieldMatch) |
Modifier and Type | Method and Description |
---|---|
HighlightBuilder |
HighlightBuilder.field(HighlightBuilder.Field field) |
Copyright © 2009–2015. All rights reserved.