I want to delete all entries for the Date as 2016-02-11.
How can I achieve this . I tried DELETE //_query?q=Date:2016-02-11
but it is giving response as
{
"found": false,
"_index": <"indexname>",
"_type": "",
"_id": "_query",
"_version": 1,
"_shards": {
"total": 2,
"successful": 2,
"failed": 0
}
}
Data is in my local machine. Index name can be anything (mine is :testindex1).I don't have idea about what type means here (I passed my mapping type which is for me :"testmapping").
A document as below:
02/11/2015 12:42:54 PM 2015-02-11 111111111111111111111111111111 2222222222222222222222222222 3333333333333333333333333333 www.abc.comwww.abc.com 7 6 9 7 9 2 2 3 3 5 0 0 0 3 0 xyz 105384 notequal punji face radio
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.