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§impl Serialize for ZeroTermsQuery
impl Serialize for ZeroTermsQuery
impl Eq for ZeroTermsQuery
impl StructuralPartialEq for ZeroTermsQuery
Auto Trait Implementations§
impl Freeze for ZeroTermsQuery
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)