2014-03-05 58 views
0

查詢我做了一個簡單的查詢失敗「通過查詢刪除」在Elasticsearch

curl -XDELETE 'http://rtparamdev03:9200/_all/_query?pretty=true' -d ' 
{ 
"query": { 
    "constant_score": { 
     "filter": { 
      "missing" : { "field" : "path" } 
     } 
    } 
    } 
}' 

我得到一個失敗響應。

{ 
"ok" : true, 
"_indices" : { 
"alerts" : { 
    "_shards" : { 
    "total" : 5, 
    "successful" : 0, 
    "failed" : 5 
    } 
}, 
"logstash-2014.02.12" : { 
    "_shards" : { 
    "total" : 5, 
    "successful" : 0, 
    "failed" : 5 
    } 
... 
} 

我在ElasticSearch日誌中看不到任何明顯的東西。我看到以下內容,但我認爲這根本不重要。

我做了一個all refresh和我設置threadpool.index.queue_size=-1。我仍然得到相同的迴應。

有什麼建議嗎?

+0

我想你打[這](https://github.com/elasticsearch/elasticsearch/issues/5083)。你沒有得到實際失敗的原因是[this](https://github.com/elasticsearch/elasticsearch/issues/5093),現在已經修復,並將成爲下一個版本的一部分。 – javanna

+0

Hi @javanna感謝您的回覆。根據你的鏈接,我做了一個「全部刷新」,並設置了'threadpool.index.queue_size = -1'。我仍然得到相同的迴應,請進一步提示? –

回答