Struct elasticsearch_dsl::search::queries::specialized::PercolateLookupQuery
source · [−]pub struct PercolateLookupQuery { /* private fields */ }Expand description
In order to percolate a newly indexed document, the percolate query can
be used. Based on the response from an index request, the _id and other meta information can
be used to immediately percolate the newly added document.
To percolate indexed document:
Query::percolate_lookup("field", "index_name", "document_id");Implementations
sourceimpl PercolateLookupQuery
impl PercolateLookupQuery
Trait Implementations
sourceimpl Clone for PercolateLookupQuery
impl Clone for PercolateLookupQuery
sourcefn clone(&self) -> PercolateLookupQuery
fn clone(&self) -> PercolateLookupQuery
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PercolateLookupQuery
impl Debug for PercolateLookupQuery
sourceimpl From<PercolateLookupQuery> for Option<Query>
impl From<PercolateLookupQuery> for Option<Query>
sourcefn from(q: PercolateLookupQuery) -> Self
fn from(q: PercolateLookupQuery) -> Self
Converts to this type from the input type.
sourceimpl From<PercolateLookupQuery> for Query
impl From<PercolateLookupQuery> for Query
sourcefn from(q: PercolateLookupQuery) -> Self
fn from(q: PercolateLookupQuery) -> Self
Converts to this type from the input type.
sourceimpl IntoIterator for PercolateLookupQuery
impl IntoIterator for PercolateLookupQuery
type Item = PercolateLookupQuery
type Item = PercolateLookupQuery
The type of the elements being iterated over.
type IntoIter = IntoIter<<PercolateLookupQuery as IntoIterator>::Item>
type IntoIter = IntoIter<<PercolateLookupQuery as IntoIterator>::Item>
Which kind of iterator are we turning this into?
sourceimpl PartialEq<PercolateLookupQuery> for PercolateLookupQuery
impl PartialEq<PercolateLookupQuery> for PercolateLookupQuery
sourcefn eq(&self, other: &PercolateLookupQuery) -> bool
fn eq(&self, other: &PercolateLookupQuery) -> bool
sourceimpl PartialEq<PercolateLookupQuery> for Query
impl PartialEq<PercolateLookupQuery> for Query
sourcefn eq(&self, other: &PercolateLookupQuery) -> bool
fn eq(&self, other: &PercolateLookupQuery) -> bool
sourceimpl Serialize for PercolateLookupQuery
impl Serialize for PercolateLookupQuery
impl Eq for PercolateLookupQuery
impl StructuralEq for PercolateLookupQuery
impl StructuralPartialEq for PercolateLookupQuery
Auto Trait Implementations
impl RefUnwindSafe for PercolateLookupQuery
impl Send for PercolateLookupQuery
impl Sync for PercolateLookupQuery
impl Unpin for PercolateLookupQuery
impl UnwindSafe for PercolateLookupQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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