Mod-search uses nori analyzer for Korean language and it is officially recommended by ElasticSearch, however some FOLIO customers want to use AWS ElasticSearch service which does not support this analyzer but provides seunjeon_analyzer.
The problem is that this seunjeon_analyzer does not supports 7+ ES version see https://bitbucket.org/eunjeon/seunjeon/src/master/elasticsearch/, and AWS seems supports it internally and there is no way to get the plugin for 7.9 version.
We should allow to support both modes - ElasticSearch as AWS service (because there are a lot of customers that going to use this mode) and ElasticSearch self-managed.
- Default analyzer is set to AWS version
- If there is a mismatch between ES and analyzer then the system should automatically override to the analyzer supported by the environment
- The tenant can make the change of the analyzer but the change will require reindexing.