Enum tantivy::query::Occur
[−]
[src]
pub enum Occur { Should, Must, MustNot, }
Defines whether a term in a query must be present, should be present or must not be present.
Variants
Should
For a given document to be considered for scoring, at least one of the document with the Should or the Must Occur constraint must be within the document.
Must
Document without the term are excluded from the search.
MustNot
Document that contain the term are excluded from the search.
Trait Implementations
impl Debug for Occur
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Occur
[src]
fn clone(&self) -> Occur
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more