pub struct TermOperator {
pub term: String,
pub field: String,
}Expand description
T(t) = PL({d in D | t in term(d, f)}).
Resolves the search-time analyzer for field, runs it over term,
looks up each resulting token’s posting list, and unions them.
Fields§
§term: String§field: StringImplementations§
Trait Implementations§
Source§impl Operator for TermOperator
impl Operator for TermOperator
fn execute(&self, ctx: &ExecutionContext) -> OperatorResult
fn cost_estimate(&self, stats: &IndexStats) -> f64
Auto Trait Implementations§
impl Freeze for TermOperator
impl RefUnwindSafe for TermOperator
impl Send for TermOperator
impl Sync for TermOperator
impl Unpin for TermOperator
impl UnsafeUnpin for TermOperator
impl UnwindSafe for TermOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more