Interface HightlightParams
-
- All Known Implementing Classes:
DefaultHighlightParams
public interface HightlightParamsParameters for highlighting in search.- Since:
- 5.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetEncoder()The encoding required for highlight result.StringgetPostTag()StringgetPreTag()default SearchQuerygetQuery()
-
-
-
Method Detail
-
getPreTag
String getPreTag()
-
getPostTag
String getPostTag()
-
getEncoder
String getEncoder()
The encoding required for highlight result. Use NoOpEncoder to bypass encoding.- Returns:
- "html" if html encoding is required. "none" for bypassing encoding.
- Since:
- 5.10.5
-
getQuery
default SearchQuery getQuery()
- Since:
- 5.10.5
-
-