Class SearchHighlighterBuilder
java.lang.Object
org.hibernate.search.engine.search.highlighter.spi.SearchHighlighterBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Character[]
protected Integer
protected Locale
protected BoundaryScannerType
protected HighlighterEncoder
protected HighlighterFragmenter
protected Integer
protected Integer
protected Integer
protected Boolean
protected Integer
protected HighlighterTagSchema
protected SearchHighlighterType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboundaryChars
(Character[] boundaryChars) boundaryChars
(String boundaryChars) boundaryMaxScan
(Integer boundaryMaxScan) boundaryScannerLocale
(Locale boundaryScannerLocale) boundaryScannerType
(BoundaryScannerType boundaryScannerType) abstract SearchHighlighter
build()
void
encoder()
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
-
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
-
boundaryCharsAsString
-
boundaryMaxScan
-
fragmentSize
-
noMatchSize
-
numberOfFragments
-
orderByScore
-
preTags
-
postTags
-
boundaryScannerType
-
boundaryScannerLocale
-
fragmenterType
-
phraseLimit
-
tagSchema
-
encoder
-
build
-