Enum elasticsearch_dsl::search::queries::params::ZeroTermsQuery
source · [−]pub enum ZeroTermsQuery {
None,
All,
}Expand description
Indicates whether no documents are returned if the analyzer removes all
tokens, such as when using a stop filter.
Variants
None
No documents are returned if the analyzer removes all tokens.
All
Returns all documents, similar to a
match_all
query.
Trait Implementations
sourceimpl Clone for ZeroTermsQuery
impl Clone for ZeroTermsQuery
sourcefn clone(&self) -> ZeroTermsQuery
fn clone(&self) -> ZeroTermsQuery
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ZeroTermsQuery
impl Debug for ZeroTermsQuery
sourceimpl PartialEq<ZeroTermsQuery> for ZeroTermsQuery
impl PartialEq<ZeroTermsQuery> for ZeroTermsQuery
sourcefn eq(&self, other: &ZeroTermsQuery) -> bool
fn eq(&self, other: &ZeroTermsQuery) -> bool
sourceimpl Serialize for ZeroTermsQuery
impl Serialize for ZeroTermsQuery
impl Eq for ZeroTermsQuery
impl StructuralEq for ZeroTermsQuery
impl StructuralPartialEq for ZeroTermsQuery
Auto Trait Implementations
impl RefUnwindSafe for ZeroTermsQuery
impl Send for ZeroTermsQuery
impl Sync for ZeroTermsQuery
impl Unpin for ZeroTermsQuery
impl UnwindSafe for ZeroTermsQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more