ElasticSearch : Can we apply both n-gram and language analyzers during indexing
问题 Thanks a lot @Random , I have modified the mapping as follows. For testing I have used "movie" as my type for indexing. Note: I have added search_analyzer also. I was not getting proper results without that. However I have following doubts for using search_analyzer. 1] Can we use custom search_analyzer in case of language analyzers ? 2] am I getting all the results due to n-gram analyzer I have used and not due to english analyzer? { "settings": { "analysis": { "analyzer": { "english_ngram":