elasticsearch的ltr插件不适用于ElasticCloud

wf82jlnq  于 2021-06-14  发布在  ElasticSearch
关注(0)|答案(0)|浏览(460)

尝试使用elasticsearch的ltr插件时,向ltr发出put请求以初始化,ref-https://elasticsearch-learning-to-rank.readthedocs.io/en/latest/index.html 在弹性云上,它返回一个错误-

{
  "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 '+'"
  }
}

这个错误基本上是一个索引命名规则,但当插件安装在本地时,它工作正常。只有当插件安装在弹性云上时,问题才会出现。elastic cloud会给出一个确认,说明您的扩展已经安装,但路由仍然不起作用。尝试在之后重新启动部署,但仍保持不变。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题