Struct tantivy::query::AutomatonWeight[][src]

pub struct AutomatonWeight<A> where
    A: Automaton
{ /* fields omitted */ }

A weight struct for Fuzzy Term and Regex Queries

Methods

impl<A> AutomatonWeight<A> where
    A: Automaton
[src]

Create a new AutomationWeight

Trait Implementations

impl<A> Weight for AutomatonWeight<A> where
    A: Automaton
[src]

Returns the scorer for the given segment. See Query. Read more

Returns the number documents within the given SegmentReader.

Auto Trait Implementations

impl<A> Send for AutomatonWeight<A> where
    A: Send

impl<A> Sync for AutomatonWeight<A> where
    A: Sync