【问题标题】:elasticsearch client ResponseException - No search context found for id (search_context_missing_exception)elasticsearch 客户端 ResponseException - 找不到 id 的搜索上下文 (search_context_missing_exception)
【发布时间】:2020-07-09 06:51:33
【问题描述】:

我正在使用具有默认集群配置的弹性搜索 6.8.4。 当我执行 gremlin 查询时,出现如下错误:

"message": "method [POST], host [http://es03:9200], URI [/_search/scroll], status line [HTTP/1.1 404 Not Found]\n{\"error\":{\"root_cause\":[{\"type\":\"search_context_missing_exception\",\"reason\":\"No search context found for id [36001442]\"}

是什么导致了这个问题?

【问题讨论】:

    标签: elasticsearch janusgraph gremlin-server


    【解决方案1】:
    Using the below configuration in elastic search indexing for Janusgraph
        index.search.elasticsearch.create.ext.number_of_shards=5
        index.search.elasticsearch.create.ext.number_of_replicas=2
        index.search.elasticsearch.scroll-keep-alive=600
        index.search.elasticsearch.setup-max-open-scroll-contexts=2000
    

    【讨论】:

      猜你喜欢
      • 2018-12-22
      • 2019-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-22
      • 1970-01-01
      相关资源
      最近更新 更多