Could you GIST a full curl recreation which reproduce your issue? See help if you don't know how to write it: http://www.elasticsearch.org/help
-- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 28 mars 2014 à 14:55:09, Arun Prasath ([email protected]) a écrit: I tried in both the case it deletes complete index when criteria doesn't match. It should not delete if the condition doesn't match. Please let me know how to delete based on condition. Im trying this as TTL doesn't work. I don't know how to delete records from memory for particular date range. Appreicate your Help. On Thursday, March 27, 2014 5:55:05 PM UTC-4, David Pilato wrote: Use range not term -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 27 mars 2014 à 22:34, Arun Prasath <[email protected]> a écrit : Hi, I would need to delete records from particular Type with date range. I'm trying following command but it deletes all records from index. Is it right way to delete records. DELETE /index/type/ { "query" : { "term" : { "TransactionTime" : "from" : "2014-03-26 12:23:41", "to" : "2014-03-26 12:24:40"} } } Thanks, Arun -- 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/32ae7629-abd6-49fe-87a8-06dd075ed2a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/8bcbddec-294d-4c0b-93be-b52b376fa0c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/etPan.53357fc6.238e1f29.16bdd%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/d/optout.
