Elasticsearch - Choosing the analyzer to use for fields
问题 How do I tell query_string which analyzer to use in a search? I've created my index with an analyzer like so: "analysis": { "analyzer": { "std_analyzer": { "tokenizer": "whitespace", "filter": [ "stemmer" ] } } } I do not predefine any mappings. Instead, I rely mappings to be dynamically added upon inserting a document. The mappings appear like so after calling /my_index/_mapping "short_bio" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, You