Elasticsearch: Updating index analyzer allows inconsistent indexing

Created on 5 Jan 2018  路  1Comment  路  Source: elastic/elasticsearch

As described in indices-update-settings, it is possible to update analyzers while an index is closed. (The doc only shows adding an analyzer, but in fact it is possible to change an existing one.)

This leaves open the possibility to have documents indexed inconsistently before and after such a change. I think consideration should be given to disabling that capability.

cc: @s1monw

:CorFeatureIndices APIs >enhancement PITA CorFeatures resiliency

Most helpful comment

We discussed this in fixit-friday and this is a general / long standing (by design... I can already hear somebody say it's a feature) issue. We need to do a significant amount of work to fix this but first and foremost we need to find a good way to fix synonym filter. Synonyms should be updateable but only for search analyzers which is not the case. there are also issues with synonyms in general that we need to fix ie. files can be changed on disk and the index will be corrupted.

We will look into fixing this issue hopefully soon.

>All comments

We discussed this in fixit-friday and this is a general / long standing (by design... I can already hear somebody say it's a feature) issue. We need to do a significant amount of work to fix this but first and foremost we need to find a good way to fix synonym filter. Synonyms should be updateable but only for search analyzers which is not the case. there are also issues with synonyms in general that we need to fix ie. files can be changed on disk and the index will be corrupted.

We will look into fixing this issue hopefully soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ttaranov picture ttaranov  路  3Comments

makeyang picture makeyang  路  3Comments

rjernst picture rjernst  路  3Comments

jasontedor picture jasontedor  路  3Comments

brwe picture brwe  路  3Comments