Enum elastic::types::prelude::TermVector
[−]
[src]
pub enum TermVector { No, Yes, WithPositions, WithOffsets, WithPositionsOffsets, }
Term vectors contain information about the terms produced by the analysis process.
Variants
No
No term vectors are stored. (default)
Yes
Just the terms in the field are stored.
WithPositions
Terms and positions are stored.
WithOffsets
Terms and character offsets are stored.
WithPositionsOffsets
Terms, positions, and character offsets are stored.
Trait Implementations
impl Copy for TermVector
[src]
impl Clone for TermVector
[src]
fn clone(&self) -> TermVector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Serialize for TermVector
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more