Is there a Elasticsearch plugin similar to the Solr analysis tool?

后端 未结 4 1371
别跟我提以往
别跟我提以往 2021-02-15 17:35

Solr has the built-in \"Analysis Screen\", which helps to debug the interplay between tokenizers and filters for specific field types:

4条回答
  •  终归单人心
    2021-02-15 18:31

    Analyze API can be used to test the analyzers. It is not so pretty but does the job.

    Example

    GET localhost:9200/_analyze
    {
      "tokenizer" : "keyword",
      "token_filters" : ["lowercase"],
      "char_filters" : ["html_strip"],
      "text" : "this is a test"
    }
    

提交回复
热议问题