【问题标题】:Elastic search curl query not working弹性搜索卷曲查询不起作用
【发布时间】:2015-03-01 00:20:09
【问题描述】:

我正在尝试使用 Curl 在 Elastic Search 中运行以下搜索查询:

curl -XGET 'http://localhost:9200/db/table_one/_search?q=Summary:None'

我不断收到以下错误:

{"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]","status":503}

我无法调试这个。我编写 curl 命令的方式是否存在特定问题?谢谢!(我的数据库名称是 db,我正在搜索的表是 table_one-我使用 RethinkDB)

【问题讨论】:

  • 查看索引状态curl -XGET http://localhost:9200/db/_status?pretty=1

标签: curl elasticsearch rethinkdb


【解决方案1】:

Elasticsearch 首先检查分片的可用性。您的错误看起来像您的 Rethink 数据库实例中没有正常工作的分片。你能确认分片的健康状况吗?

【讨论】:

    猜你喜欢
    • 2020-01-08
    • 2019-12-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-25
    相关资源
    最近更新 更多