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