Reimplementing and extending the analyzers
editReimplementing and extending the analyzers
editThe smartcn
analyzer could be reimplemented as a custom
analyzer that can
then be extended and configured as follows:
PUT smartcn_example { "settings": { "analysis": { "analyzer": { "rebuilt_smartcn": { "tokenizer": "smartcn_tokenizer", "filter": [ "porter_stem", "smartcn_stop" ] } } } } }