Struct elasticsearch_dsl::search::queries::params::TermsLookup [−][src]
pub struct TermsLookup { /* fields omitted */ }Expand description
Terms lookup fetches the field values of an existing document. Elasticsearch then uses those values as search terms. This can be helpful when searching for a large set of terms.
Because terms lookup fetches values from a document, the
_source
mapping field must be enabled to use terms lookup. The _source
field is enabled by default.
By default, Elasticsearch limits the
termsquery to a maximum of 65,536 terms. This includes terms fetched using terms lookup. You can change this limit using theindex.max_terms_count setting.
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 TermsLookup
impl Send for TermsLookup
impl Sync for TermsLookup
impl Unpin for TermsLookup
impl UnwindSafe for TermsLookup
Blanket Implementations
Mutably borrows from an owned value. Read more