Enum elastic::types::prelude::IndexAnalysis [] [src]

pub enum IndexAnalysis {
    Analyzed,
    NotAnalyzed,
    No,
}

Should the field be searchable? Accepts not_analyzed (default) and no.

Variants

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.

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.

Do not add this field value to the index. With this setting, the field will not be queryable.

Trait Implementations

impl Copy for IndexAnalysis
[src]

impl Serialize for IndexAnalysis
[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for IndexAnalysis
[src]

Formats the value using the given formatter.

impl Clone for IndexAnalysis
[src]