-
"products_name_en": {
-
"Type": "string", // string type
-
"Index": "analyzed" // word, regardless of the word is: not_analyzed, set to no, the field will not be indexed
-
"Analyzer": "ik" // specified word breaker
-
"Boost": 1.23 // score weighting field level
-
"Doc_values": false // for not_analyzed field, are enabled by default, segmentation field can not be used for sorting and aggregation can improve the performance of large, memory-saving
-
"Fielddata": { "format": "disabled"} // for word field, can improve performance when involved in sorting or aggregation, regardless of the unified field is recommended to use the word doc_value
-
"Fields": { "raw": { "type": "string", "index": "not_analyzed"}} // may provide a plurality of index field mode, the value of the same field, a word, not a Participle
-
"Ignore_above": 100 // more than 100 characters of text, it will be ignored and not indexed
-
"Include_in_all": ture // Sets whether this field contains _all field, the default is true, unless the index is set to no options
-
"Index_options": "docs" // 4 optional parameter docs (documents index number), freqs (document number + word frequency), positions (Document No. + + word frequency position, distance usually used to query), offsets (Document No. + Frequencies + + offset position, is generally used in the field highlighted) word field default position, other default docs
-
"Norms": { "enable": true, "loading": "lazy"} // word field default configuration, regardless of the word fields: Default { "enable": false}, when the memory length factor and index Boost, suggested the need ratings field use, extra memory consumption increases
-
"Null_value": "NULL" // set some initial values of the missing fields, only the string can be used, null value word field will be word
-
"Position_increament_gap": 0 // impact or proximity queries from query, the data may be provided on the multi-value field lit word field, can specify the interval slop query, the default value is 100
-
"Store": false // whether to set this field alone is stored separated from _source field, the default is false, only the search, could not get the value
-
"Search_analyzer": "ik" // set word breaker when the search default is consistent with ananlyzer, such as standard + ngram with the index when used with a standard automatic prompts to complete the search
-
"Similarity": "BM25" // default TF / IDF algorithm, specify a field rate policy, only valid for string and word type
-
"Term_vector": "no" // default does not store the vector information, support parameter yes (term storage), with_positions (term + position), with_offsets (term + offset), with_positions_offsets (term + location + offset) for quick highlight fast vector highlighter can improve performance, but will increase the open volume index, not suitable for a large amount of data
-
}
es string participle complete example
Guess you like
Origin www.cnblogs.com/fly-kaka/p/11301716.html
Recommended
Ranking