Struct elastic::types::prelude::ElasticTokenCountFieldMapping [] [src]

pub struct ElasticTokenCountFieldMapping {
    pub analyzer: Option<&'static str>,
    pub boost: Option<f32>,
    pub doc_values: Option<bool>,
    pub index: Option<IndexAnalysis>,
    pub include_in_all: Option<bool>,
    pub precision_step: Option<u32>,
    pub store: Option<bool>,
}

A multi-field string mapping for a token count.

Fields

The analyzer which should be used for analyzed string fields, both at index-time and at search-time (unless overridden by the search_analyzer). Defaults to the default index analyzer, or the standard analyzer.

Field-level index time boosting. Accepts a floating point number, defaults to 1.0.

Should the field be stored on disk in a column-stride fashion, so that it can later be used for sorting, aggregations, or scripting? Accepts true (default) or false.

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

Whether or not the field value should be included in the _all field? Accepts true or false. Defaults to false if index is set to no, or if a parent object field sets include_in_all to false. Otherwise defaults to true.

Controls the number of extra terms that are indexed to make range queries faster. Defaults to 32.

Whether the field value should be stored and retrievable separately from the _source field. Accepts true or false (default).

Trait Implementations

impl Default for ElasticTokenCountFieldMapping
[src]

impl Copy for ElasticTokenCountFieldMapping
[src]

impl Serialize for ElasticTokenCountFieldMapping
[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for ElasticTokenCountFieldMapping
[src]

Formats the value using the given formatter.

impl Clone for ElasticTokenCountFieldMapping
[src]