Enum elasticsearch_dsl::search::queries::params::TermsSetMinimumShouldMatch [−][src]
pub enum TermsSetMinimumShouldMatch {
Field(String),
Script(TermsSetScript),
}Expand description
Number of matching terms to be required
Variants
Field(String)Numeric field containing the number of matching terms required to return a document.
Tuple Fields of Field
0: StringScript(TermsSetScript)Custom script containing the number of matching terms required to return a document.
For parameters and valid values, see Scripting.
For an example query using the minimum_should_match_script parameter, see
How to use the minimum_should_match_script parameter.
Tuple Fields of Script
Trait Implementations
Performs the conversion.
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 TermsSetMinimumShouldMatch
impl Send for TermsSetMinimumShouldMatch
impl Sync for TermsSetMinimumShouldMatch
impl Unpin for TermsSetMinimumShouldMatch
impl UnwindSafe for TermsSetMinimumShouldMatch
Blanket Implementations
Mutably borrows from an owned value. Read more