Enum elasticsearch_dsl::search::highlight::Fragmenter [−][src]
pub enum Fragmenter {
Simple,
Span,
}
Expand description
Specifies how text should be broken up in highlight snippets.
Variants
Simple
Breaks up text into same-sized fragments.
Span
Breaks up text into same-sized fragments, but tries to avoid breaking up text between highlighted terms. This is helpful when you’re querying for phrases. Default.
Trait Implementations
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 Fragmenter
impl Send for Fragmenter
impl Sync for Fragmenter
impl Unpin for Fragmenter
impl UnwindSafe for Fragmenter
Blanket Implementations
Mutably borrows from an owned value. Read more