I'm trying to delete document from an index based on the timestamp.
I'm using ES v1.1, so I have to use the query wrapper.

This return the wanted result :

 curl -*XGET *'http://localhost:9200/test/_*search*?pretty=1' -d 
'{"query":{"range":{"@timestamp":{"from":"2014-07-10T00:00:00","to":"2014-07-13T21:00:00"}}}}'

but this doesn't always work, command is hanging :

 curl -*XDELETE* 'http://localhost:9200/test/_*query*?pretty=1' -d 
'{"query":{"range":{"@timestamp":{"from":"2014-07-10T00:00:00","to":"2014-07-13T21:00:00"}}}}'


The cluster's health is good, I worked a few hours ago, and now it's not. I 
tried to restart elasticsearch without luck.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/be990246-efb3-4ed2-bec6-101fb03bb9ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to