Trait Query

Source
pub trait Query {
    // Required methods
    fn advance(&mut self, target: i32) -> i32;
    fn next(&mut self) -> i32;
    fn doc_id(&self) -> i32;
    fn score(&self) -> f32;
}

Required Methods§

Source

fn advance(&mut self, target: i32) -> i32

Source

fn next(&mut self) -> i32

Source

fn doc_id(&self) -> i32

Source

fn score(&self) -> f32

Implementors§

Source§

impl<'a> Query for And<'a>

Source§

impl<'a> Query for Constant<'a>

Source§

impl<'a> Query for DisMax<'a>

Source§

impl<'a> Query for Or<'a>

Source§

impl<'a> Query for Term<'a>