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 Clone for TermVector
[src]
fn clone(&self) -> TermVector
impl Copy for TermVector
[src]
impl Debug for TermVector
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Serialize for TermVector
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&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