Struct elasticsearch_dsl::search::queries::span::SpanFirstQuery
source · pub struct SpanFirstQuery { /* private fields */ }
Expand description
Matches spans near the beginning of a field. The span first query maps to Lucene
SpanFirstQuery
.
The match
clause can be any other span type query. The end
controls the maximum end
position permitted in a match.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-first-query.html
Trait Implementations§
source§impl Clone for SpanFirstQuery
impl Clone for SpanFirstQuery
source§fn clone(&self) -> SpanFirstQuery
fn clone(&self) -> SpanFirstQuery
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 SpanFirstQuery
impl Debug for SpanFirstQuery
source§impl From<SpanFirstQuery> for Option<Query>
impl From<SpanFirstQuery> for Option<Query>
source§fn from(q: SpanFirstQuery) -> Self
fn from(q: SpanFirstQuery) -> Self
Converts to this type from the input type.
source§impl From<SpanFirstQuery> for Option<SpanQuery>
impl From<SpanFirstQuery> for Option<SpanQuery>
source§fn from(q: SpanFirstQuery) -> Self
fn from(q: SpanFirstQuery) -> Self
Converts to this type from the input type.
source§impl From<SpanFirstQuery> for Query
impl From<SpanFirstQuery> for Query
source§fn from(q: SpanFirstQuery) -> Self
fn from(q: SpanFirstQuery) -> Self
Converts to this type from the input type.
source§impl From<SpanFirstQuery> for SpanQuery
impl From<SpanFirstQuery> for SpanQuery
source§fn from(q: SpanFirstQuery) -> Self
fn from(q: SpanFirstQuery) -> Self
Converts to this type from the input type.
source§impl IntoIterator for SpanFirstQuery
impl IntoIterator for SpanFirstQuery
§type Item = SpanFirstQuery
type Item = SpanFirstQuery
The type of the elements being iterated over.
§type IntoIter = IntoIter<<SpanFirstQuery as IntoIterator>::Item>
type IntoIter = IntoIter<<SpanFirstQuery as IntoIterator>::Item>
Which kind of iterator are we turning this into?