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§
source§impl PercolateLookupQuery
impl PercolateLookupQuery
Trait Implementations§
source§impl Clone for PercolateLookupQuery
impl Clone for PercolateLookupQuery
source§fn clone(&self) -> PercolateLookupQuery
fn clone(&self) -> PercolateLookupQuery
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 PercolateLookupQuery
impl Debug for PercolateLookupQuery
source§impl From<PercolateLookupQuery> for Option<Query>
impl From<PercolateLookupQuery> for Option<Query>
source§fn from(q: PercolateLookupQuery) -> Self
fn from(q: PercolateLookupQuery) -> Self
Converts to this type from the input type.
source§impl From<PercolateLookupQuery> for Query
impl From<PercolateLookupQuery> for Query
source§fn from(q: PercolateLookupQuery) -> Self
fn from(q: PercolateLookupQuery) -> Self
Converts to this type from the input type.
source§impl 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?