Struct tantivy::tokenizer::FacetTokenizer [] [src]

pub struct FacetTokenizer;

The FacetTokenizer process a Facet binary representation and emits a token for all of its parent.

For instance, /america/north_america/canada will emit the three following tokens - /america/north_america/canada - /america/north_america - /america

Trait Implementations

impl Clone for FacetTokenizer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Tokenizer<'a> for FacetTokenizer
[src]

Type associated to the resulting tokenstream tokenstream.

[src]

Creates a token stream for a given str.

[src]

Appends a token filter to the current tokenizer. Read more