I'm trying to delete document from an index based on the timestamp.
I'm using ES v1.0, 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 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"}}}}'

Any idea ?

-- 
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/80405e2e-01cd-43bf-996f-7e5851ce89a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to