How to setup a tokenizer in elasticsearch

后端 未结 2 1080
醉酒成梦
醉酒成梦 2020-12-09 11:20

I have an embedded elasticsearch using the elasticsearch-jetty project, and I need to setup to use tokenizers better than the defaults. I want to use the keyword tokenizer.<

2条回答
  •  死守一世寂寞
    2020-12-09 12:03

    To update an existing index, use

    $ curl -XPUT localhost:9200/testindex/_settings -d '
    {
    ..........
    }
    

    However you can't update non dynamic settings.

提交回复
热议问题