Struct perlin::index::boolean_index::BooleanIndex [] [src]

pub struct BooleanIndex<TTerm: Ord + Hash> { /* fields omitted */ }

Implements the Index trait. Limited to boolean retrieval.

Methods

impl<TTerm: Ord + Hash> BooleanIndex<TTerm>
[src]

Returns the number of indexed documents

Trait Implementations

impl<'a, TTerm: Ord + Hash> Index<'a, TTerm> for BooleanIndex<TTerm>
[src]

Specifies the query-object type to be used with an Index

Specifies the result returned from the execute_query()-method

Executes a BooleanQuery and returns a boxed iterator over the resulting document ids. The query execution is lazy.