Enum BoundaryScanner
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public enum BoundaryScanner
Fields
Name | Description |
---|---|
Characters | (default mode for the FVH): allows to configure which characters (boundary_chars) constitute a boundary for highlighting. It’s a single string with each boundary character defined in it (defaults to .,!? \t\n). It also allows configuring the boundary_max_scan to control how far to look for boundary characters (defaults to 20). Works only with the Fast Vector Highlighter. |
Sentence | sentence and word: use Java’s BreakIterator to break the highlighted fragments at the next sentence or word boundary. You can further specify boundary_scanner_locale to control which Locale is used to search the text for these boundaries. |
Word | sentence and word: use Java’s BreakIterator to break the highlighted fragments at the next sentence or word boundary. You can further specify boundary_scanner_locale to control which Locale is used to search the text for these boundaries. |