Enum elasticsearch_dsl::search::Relation
source · [−]pub enum Relation {
GreaterThanOrEqualTo,
Equal,
}
Expand description
Relation to total number of matched documents
Variants
GreaterThanOrEqualTo
When track_total_hits
is false
(default), Elasticsearch returns that
there have been more than 10,000 documents
Equal
When there are less than 10,000 documents or track_total_hits
is set
to true
, exact number of matched documents will be brought back
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Relation
impl<'de> Deserialize<'de> for Relation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnwindSafe for Relation
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