Enum elasticsearch_dsl::search::queries::params::MultiMatchQueryType [−][src]
pub enum MultiMatchQueryType {
BestFields(Option<TieBreaker>),
MostFields,
CrossFields,
Phrase,
PhrasePrefix,
BoolPrefix,
}Expand description
The way the multi_match query is executed internally.
Variants
BestFields(Option<TieBreaker>)Finds documents which match any field, but uses the _score from the
best field. See
best_fields.
Tuple Fields of BestFields
0: Option<TieBreaker>Finds documents which match any field and combines the _score from
each field. See
most_fields.
Treats fields with the same analyzer as though they were one big
field. Looks for each word in any field. See
cross_fields.
Runs a match_phrase query on each field and uses the _score from
the best field. See
phrase and phrase_prefix.
Runs a match_phrase_prefix query on each field and uses the _score
from the best field. See
phrase and phrase_prefix.
Creates a match_bool_prefix query on each field and combines the
_score from each field. See
bool_prefix.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MultiMatchQueryType
impl Send for MultiMatchQueryType
impl Sync for MultiMatchQueryType
impl Unpin for MultiMatchQueryType
impl UnwindSafe for MultiMatchQueryType
Blanket Implementations
Mutably borrows from an owned value. Read more