Class HighlightBase.AbstractBuilder<BuilderT extends HighlightBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.core.search.HighlightBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
Highlight.Builder
,HighlightField.Builder
- Enclosing class:
- HighlightBase
protected abstract static class HighlightBase.AbstractBuilder<BuilderT extends HighlightBase.AbstractBuilder<BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
boundaryChars(java.lang.String value)
API name:boundary_chars
BuilderT
boundaryMaxScan(java.lang.Integer value)
API name:boundary_max_scan
BuilderT
boundaryScanner(BoundaryScanner value)
API name:boundary_scanner
BuilderT
boundaryScannerLocale(java.lang.String value)
API name:boundary_scanner_locale
BuilderT
forceSource(java.lang.Boolean value)
API name:force_source
BuilderT
fragmenter(HighlighterFragmenter value)
API name:fragmenter
BuilderT
fragmentSize(java.lang.Integer value)
API name:fragment_size
BuilderT
highlightFilter(java.lang.Boolean value)
API name:highlight_filter
BuilderT
highlightQuery(Query value)
API name:highlight_query
BuilderT
highlightQuery(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)
API name:highlight_query
BuilderT
maxAnalyzedOffset(java.lang.Integer value)
API name:max_analyzed_offset
BuilderT
maxFragmentLength(java.lang.Integer value)
API name:max_fragment_length
BuilderT
noMatchSize(java.lang.Integer value)
API name:no_match_size
BuilderT
numberOfFragments(java.lang.Integer value)
API name:number_of_fragments
BuilderT
options(java.lang.String key, JsonData value)
API name:options
BuilderT
options(java.util.Map<java.lang.String,JsonData> map)
API name:options
BuilderT
order(HighlighterOrder value)
API name:order
BuilderT
phraseLimit(java.lang.Integer value)
API name:phrase_limit
BuilderT
postTags(java.lang.String value, java.lang.String... values)
API name:post_tags
BuilderT
postTags(java.util.List<java.lang.String> list)
API name:post_tags
BuilderT
preTags(java.lang.String value, java.lang.String... values)
API name:pre_tags
BuilderT
preTags(java.util.List<java.lang.String> list)
API name:pre_tags
BuilderT
requireFieldMatch(java.lang.Boolean value)
API name:require_field_match
protected abstract BuilderT
self()
BuilderT
tagsSchema(HighlighterTagsSchema value)
API name:tags_schema
BuilderT
type(HighlighterType value)
API name:type
BuilderT
type(java.lang.String value)
API name:type
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
type
API name:type
-
type
API name:type
-
boundaryChars
API name:boundary_chars
-
boundaryMaxScan
API name:boundary_max_scan
-
boundaryScanner
API name:boundary_scanner
-
boundaryScannerLocale
API name:boundary_scanner_locale
-
forceSource
API name:force_source
-
fragmenter
API name:fragmenter
-
fragmentSize
API name:fragment_size
-
highlightFilter
API name:highlight_filter
-
highlightQuery
API name:highlight_query
-
highlightQuery
public final BuilderT highlightQuery(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)API name:highlight_query
-
maxFragmentLength
API name:max_fragment_length
-
maxAnalyzedOffset
API name:max_analyzed_offset
-
noMatchSize
API name:no_match_size
-
numberOfFragments
API name:number_of_fragments
-
options
API name:options
Adds all entries of
map
tooptions
. -
options
API name:options
Adds an entry to
options
. -
order
API name:order
-
phraseLimit
API name:phrase_limit
-
postTags
API name:post_tags
Adds all elements of
list
topostTags
. -
postTags
API name:post_tags
Adds one or more values to
postTags
. -
preTags
API name:pre_tags
Adds all elements of
list
topreTags
. -
preTags
API name:pre_tags
Adds one or more values to
preTags
. -
requireFieldMatch
API name:require_field_match
-
tagsSchema
API name:tags_schema
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends HighlightBase.AbstractBuilder<BuilderT>>
-