2

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.

Siddhant Shah
  • 75
  • 1
  • 8
  • Can you open a support ticket? This might take a little more digging and will be much easier if connected to your account. – xeraa Sep 14 '20 at 22:08
  • Tried opening a support ticket , they say it's a community plugin so it's better if you reach out to the community or the creators. @xeraa – Siddhant Shah Sep 15 '20 at 04:10
  • Ask them specifically about access to the endpoint. It's not about the plugin in general, but getting access to the `_ltr` endpoint :) – xeraa Sep 15 '20 at 14:27

0 Answers0