Elasticsearch query string parser for different fields with different parsers

When executing a query across several fields that have different analyzers (stem, ngram, etc.), does elasticsearch perform a specific analysis of the query string for each field?

+4
source share
1 answer

Yes, yes, if you do not specify the analyzer in your request. The query_string request is converted to a bool or smack request depending on the use_dis_max parameter in your request. A different query will be created for each field, and search_analyzer associated with each specific field will be used to analyze the query.

+6
source

Source: https://habr.com/ru/post/1437003/


All Articles