Skip to content

Error to set custom analyzer in elasticsearch 7.8.1 #23

@mal-mel

Description

@mal-mel

Hello, i try to execute first command from guide:

{
  "settings":{
    "analysis":{
      "analyzer":{
        "minhash_analyzer":{
          "type":"custom",
          "tokenizer":"standard",
          "filter":["minhash"]
        }
      }
    }
  }
}

I replace index key to settings cause elastic version 7 not support this syntax. When i execute this command i have a error:

{
    "error": {
        "root_cause": [
            {
                "type": "illegal_argument_exception",
                "reason": "Custom Analyzer [minhash_analyzer] failed to find filter under name [minhash]"
            }
        ],
        "type": "illegal_argument_exception",
        "reason": "Custom Analyzer [minhash_analyzer] failed to find filter under name [minhash]"
    },
    "status": 400
}

I install the plugin by the using the elasticsearch-plugin and the installation finishes correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions