Elasticsearch - changing search time analyzer ( query time analyzer)


(Navneet Mathpal) #1

Hello,

I was going through elastic documentation ,

Although you can add new types to an index, or add new fields to a type, you can’t add new analyzers or make changes to existing fields.

can we not change the search_analyzer as well ? we do not need the re-indexing of data , if we change the search_analyzer .

Thanks,
Navneet


(Alexander Reelsen) #2

the search analyzer can be changed via putting the mapping, see the comment at the end of https://www.elastic.co/guide/en/elasticsearch/reference/6.4/search-analyzer.html


(Navneet Mathpal) #3

say I have a analyzer that I have created for query time now I have to change the word delimiter filter for that , without reindexing as it is in query time
I tried to close the idex and then try to put the analyzer again but could not do so.


(Alexander Reelsen) #4

please provide a fully reproducible example, otherwise it is hard to follow what you did.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.