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

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

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

Fields

queue: Vec<(String, PipelineFn)>

Implementations

👎 Deprecated since 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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.