Class SearchHighlighterBuilder
java.lang.Object
org.hibernate.search.engine.search.highlighter.spi.SearchHighlighterBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected char[]protected Integerprotected Localeprotected BoundaryScannerTypeprotected HighlighterEncoderprotected HighlighterFragmenterprotected Integerprotected Integerprotected Integerprotected Booleanprotected Integerprotected HighlighterTagSchemaprotected SearchHighlighterType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar[]boundaryChars(char[] boundaryChars) boundaryChars(String boundaryChars) boundaryMaxScan(Integer boundaryMaxScan) boundaryScannerLocale(Locale boundaryScannerLocale) boundaryScannerType(BoundaryScannerType boundaryScannerType) abstract SearchHighlighterbuild()voidencoder()encoder(HighlighterEncoder encoder) fragmentSize(Integer fragmentSize) noMatchSize(Integer noMatchSize) numberOfFragments(Integer numberOfFragments) orderByScore(Boolean orderByScore) phraseLimit(Integer phraseLimit) postTags()preTags()tags(Collection<String> preTags, String postTag) tags(Collection<String> preTags, Collection<String> postTags) tagSchema(HighlighterTagSchema tagSchema) type()type(SearchHighlighterType type)
-
Field Details
-
type
-
boundaryChars
protected char[] boundaryChars -
boundaryMaxScan
-
fragmentSize
-
noMatchSize
-
numberOfFragments
-
orderByScore
-
preTags
-
postTags
-
boundaryScannerType
-
boundaryScannerLocale
-
fragmenterType
-
phraseLimit
-
encoder
-
tagSchema
-
-
Constructor Details
-
SearchHighlighterBuilder
public SearchHighlighterBuilder()
-
-
Method Details
-
type
-
boundaryChars
-
boundaryChars
-
boundaryMaxScan
-
fragmentSize
-
noMatchSize
-
numberOfFragments
-
orderByScore
-
boundaryScannerType
-
boundaryScannerLocale
-
fragmenter
-
phraseLimit
-
tag
-
tags
-
tags
-
clearTags
public void clearTags() -
tagSchema
-
encoder
-
type
-
boundaryChars
public char[] boundaryChars() -
boundaryCharsAsString
-
boundaryMaxScan
-
fragmentSize
-
noMatchSize
-
numberOfFragments
-
orderByScore
-
preTags
-
postTags
-
boundaryScannerType
-
boundaryScannerLocale
-
fragmenterType
-
phraseLimit
-
tagSchema
-
encoder
-
build
-