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
pub fn serialize<__S>(
__self: &PercolateLookupQuery,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
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
Source§impl PartialEq<PercolateLookupQuery> for Query
impl PartialEq<PercolateLookupQuery> for Query
Source§impl PartialEq<Query> for PercolateLookupQuery
impl PartialEq<Query> for PercolateLookupQuery
Source§impl PartialEq for PercolateLookupQuery
impl PartialEq for PercolateLookupQuery
Source§impl Serialize for PercolateLookupQuery
impl Serialize for PercolateLookupQuery
impl Eq for PercolateLookupQuery
impl StructuralPartialEq for PercolateLookupQuery
Auto Trait Implementations§
impl Freeze for PercolateLookupQuery
impl RefUnwindSafe for PercolateLookupQuery
impl Send for PercolateLookupQuery
impl Sync for PercolateLookupQuery
impl Unpin for PercolateLookupQuery
impl UnwindSafe for PercolateLookupQuery
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