pub struct SpanNearQuery { /* private fields */ }
Expand description
Matches spans which are near one another. One can specify slop, the maximum number of
intervening unmatched positions, as well as whether matches are required to be in-order. The
span near query maps to Lucene SpanNearQuery
.
The clauses
element is a list of one or more other span type queries and the slop
controls
the maximum number of intervening unmatched positions permitted.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-near-query.html
Implementations§
Source§impl SpanNearQuery
impl SpanNearQuery
pub fn serialize<__S>(
__self: &SpanNearQuery,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Trait Implementations§
Source§impl Clone for SpanNearQuery
impl Clone for SpanNearQuery
Source§fn clone(&self) -> SpanNearQuery
fn clone(&self) -> SpanNearQuery
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 SpanNearQuery
impl Debug for SpanNearQuery
Source§impl From<SpanNearQuery> for Option<Query>
impl From<SpanNearQuery> for Option<Query>
Source§fn from(q: SpanNearQuery) -> Self
fn from(q: SpanNearQuery) -> Self
Converts to this type from the input type.
Source§impl From<SpanNearQuery> for Option<SpanQuery>
impl From<SpanNearQuery> for Option<SpanQuery>
Source§fn from(q: SpanNearQuery) -> Self
fn from(q: SpanNearQuery) -> Self
Converts to this type from the input type.
Source§impl From<SpanNearQuery> for Query
impl From<SpanNearQuery> for Query
Source§fn from(q: SpanNearQuery) -> Self
fn from(q: SpanNearQuery) -> Self
Converts to this type from the input type.
Source§impl From<SpanNearQuery> for SpanQuery
impl From<SpanNearQuery> for SpanQuery
Source§fn from(q: SpanNearQuery) -> Self
fn from(q: SpanNearQuery) -> Self
Converts to this type from the input type.
Source§impl IntoIterator for SpanNearQuery
impl IntoIterator for SpanNearQuery
Source§impl PartialEq<Query> for SpanNearQuery
impl PartialEq<Query> for SpanNearQuery
Source§impl PartialEq<SpanNearQuery> for Query
impl PartialEq<SpanNearQuery> for Query
Source§impl PartialEq<SpanNearQuery> for SpanQuery
impl PartialEq<SpanNearQuery> for SpanQuery
Source§impl PartialEq<SpanQuery> for SpanNearQuery
impl PartialEq<SpanQuery> for SpanNearQuery
Source§impl PartialEq for SpanNearQuery
impl PartialEq for SpanNearQuery
Source§impl Serialize for SpanNearQuery
impl Serialize for SpanNearQuery
impl StructuralPartialEq for SpanNearQuery
Auto Trait Implementations§
impl Freeze for SpanNearQuery
impl RefUnwindSafe for SpanNearQuery
impl Send for SpanNearQuery
impl Sync for SpanNearQuery
impl Unpin for SpanNearQuery
impl UnwindSafe for SpanNearQuery
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