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§
source§impl Clone for ZeroTermsQuery
impl Clone for ZeroTermsQuery
source§fn clone(&self) -> ZeroTermsQuery
fn clone(&self) -> ZeroTermsQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZeroTermsQuery
impl Debug for ZeroTermsQuery
source§impl PartialEq for ZeroTermsQuery
impl PartialEq for ZeroTermsQuery
source§fn eq(&self, other: &ZeroTermsQuery) -> bool
fn eq(&self, other: &ZeroTermsQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more