Enum elasticsearch_dsl::search::highlight::UnifiedBoundaryScanner [−][src]
Expand description
Specifies how to break the highlighted fragments. Defaults to
sentence.
Variants
Break highlighted fragments at the next sentence boundary, as determined by Java’s
BreakIterator.
You can specify the locale to use with boundary_scanner_locale.
Warning
Thesentencescanner splits sentences bigger thanfragment_sizeat the first word boundary next tofragment_size. You can setfragment_sizeto 0 to never split any sentence.
Break highlighted fragments at the next word boundary, as determined by Java’s
BreakIterator.
You can specify the locale to use with boundary_scanner_locale.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for UnifiedBoundaryScanner
impl Send for UnifiedBoundaryScanner
impl Sync for UnifiedBoundaryScanner
impl Unpin for UnifiedBoundaryScanner
impl UnwindSafe for UnifiedBoundaryScanner
Blanket Implementations
Mutably borrows from an owned value. Read more