Struct elasticlunr::pipeline::Pipeline[][src]

pub struct Pipeline {
    pub queue: Vec<(String, PipelineFn)>,
}

A sequence of PipelineFns which are run on tokens to prepare them for searching.

Fields

Methods

impl Pipeline
[src]

Deprecating in 2.2.0

: Use Language::make_pipeline()

Returns a pipeline for the given Language.

Run the Pipeline against the given vector of tokens. The returned vector may be shorter than the input if a pipeline function returns None for a token.

Trait Implementations

impl Debug for Pipeline
[src]

Formats the value using the given formatter. Read more

impl Serialize for Pipeline
[src]

Serialize this value into the given Serde serializer. Read more

impl Default for Pipeline
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Pipeline

impl Sync for Pipeline