LTR plugin of elasticsearch not working on elastic cloud

385 Views Asked by At

While trying to use LTR plugin of elasticsearch by making a PUT request to _ltr to initialize the , Ref - https://elasticsearch-learning-to-rank.readthedocs.io/en/latest/index.html on elastic cloud , It gives back an error saying -

{
  "status": 400,
  "error": {
    "index_uuid": "_na_",
    "index": "_ltr",
    "root_cause": [
      {
        "index_uuid": "_na_",
        "index": "_ltr",
        "reason": "Invalid index name [_ltr], must not start with '_', '-', or '+'",
        "type": "invalid_index_name_exception"
      }
    ],
    "type": "invalid_index_name_exception",
    "reason": "Invalid index name [_ltr], must not start with '_', '-', or '+'"
  }
}

The error is basically of an index naming rule but when the plugin is installed locally , it works correctly. The problem occurs only when the plugin is installed on elastic cloud. Elastic cloud gives a confirmation saying that your extension is installed but the route still doesn't work. Tried restarting the deployment after and it still the same.

0

There are 0 best solutions below