Struct tantivy::tokenizer::RemoveLongFilter [] [src]

pub struct RemoveLongFilter { /* fields omitted */ }

RemoveLongFilter removes tokens that are longer than a given number of bytes (in UTF-8 representation).

It is especially useful when indexing unconstrained content. e.g. Mail containing base-64 encoded pictures etc.

Methods

impl RemoveLongFilter
[src]

[src]

Creates a RemoveLongFilter given a limit in bytes of the UTF-8 representation.

Trait Implementations

impl Clone for RemoveLongFilter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<TailTokenStream> TokenFilter<TailTokenStream> for RemoveLongFilter where
    TailTokenStream: TokenStream
[src]

The resulting TokenStream type.

[src]

Wraps a token stream and returns the modified one.