Package com.algolia.model.recommend
Class HighlightResultOption
java.lang.Object
com.algolia.model.recommend.HighlightResultOption
- All Implemented Interfaces:
HighlightResult
Show highlighted section and words matched on a query.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.recommend.HighlightResult
HighlightResult.Deserializer, HighlightResult.ListOfHighlightResultOptionWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMatchedWords(String matchedWordsItem) booleanWhether the entire attribute value is highlighted.List of words from the query that matched the object.Get matchLevelgetValue()Markup text with `facetQuery` matches highlighted.inthashCode()setFullyHighlighted(Boolean fullyHighlighted) setMatchedWords(List<String> matchedWords) setMatchLevel(MatchLevel matchLevel) toString()
-
Constructor Details
-
HighlightResultOption
public HighlightResultOption()
-
-
Method Details
-
setValue
-
getValue
Markup text with `facetQuery` matches highlighted. -
setMatchLevel
-
getMatchLevel
Get matchLevel -
setMatchedWords
-
addMatchedWords
-
getMatchedWords
List of words from the query that matched the object. -
setFullyHighlighted
-
getFullyHighlighted
Whether the entire attribute value is highlighted. -
equals
-
hashCode
public int hashCode() -
toString
-