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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ZeroTermsQuery
impl Debug for ZeroTermsQuery
sourceimpl PartialEq<ZeroTermsQuery> for ZeroTermsQuery
impl PartialEq<ZeroTermsQuery> for ZeroTermsQuery
sourceimpl Serialize for ZeroTermsQuery
impl Serialize 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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