Enum elastic_types::string::mapping::IndexAnalysis
[−]
[src]
pub enum IndexAnalysis { Analyzed, NotAnalyzed, No, }
Should the field be searchable? Accepts not_analyzed
(default) and no
.
Variants
Analyzed
This option applies only to string fields, for which it is the default. The string field value is first analyzed to convert the string into terms (e.g. a list of individual words), which are then indexed. At search time, the query string is passed through (usually) the same analyzer to generate terms in the same format as those in the index. It is this process that enables full text search.
NotAnalyzed
Add the field value to the index unchanged, as a single term.
This is the default for all fields that support this option except for string fields.
not_analyzed
fields are usually used with term-level queries for structured search.
No
Do not add this field value to the index. With this setting, the field will not be queryable.
Trait Implementations
impl Debug for IndexAnalysis
[src]
impl Clone for IndexAnalysis
[src]
fn clone(&self) -> IndexAnalysis
[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