[][src]Trait tantivy::tokenizer::TokenFilter

pub trait TokenFilter: 'static + Send + Sync + TokenFilterClone {
    fn transform<'a>(
        &self,
        token_stream: BoxTokenStream<'a>
    ) -> BoxTokenStream<'a>; }

Trait for the pluggable components of Tokenizers.

Required methods

fn transform<'a>(&self, token_stream: BoxTokenStream<'a>) -> BoxTokenStream<'a>

Wraps a token stream and returns the modified one.

Loading content...

Implementors

impl TokenFilter for AlphaNumOnlyFilter[src]

impl TokenFilter for AsciiFoldingFilter[src]

impl TokenFilter for LowerCaser[src]

impl TokenFilter for RemoveLongFilter[src]

impl TokenFilter for Stemmer[src]

impl TokenFilter for StopWordFilter[src]

Loading content...