2014-03-05 28 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'。我仍然得到相同的回应,请进一步提示? –

回答