Enum elastic::types::prelude::Strategy
[−]
[src]
pub enum Strategy { Recursive, Term, }
The strategy defines the approach for how to represent shapes at indexing and search time.
Variants
Recursive
Recursive strategy supports all shape types.
Term
Term strategy supports point types only.
Trait Implementations
impl Serialize for Strategy
[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