# Docs-delete-by-query is not working with elasticsearch 1.2.0

**URL:** <https://discuss.elastic.co/t/docs-delete-by-query-is-not-working-with-elasticsearch-1-2-0/17774>\
**Category:** Elasticsearch\
**Created:** [May 28, 2014, 10:01am UTC](https://discuss.elastic.co/t/docs-delete-by-query-is-not-working-with-elasticsearch-1-2-0/17774 "2014-05-28T10:01:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![happyprg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/happyprg/32/681_2.png) [@happyprg](https://discuss.elastic.co/u/happyprg)\
**Post date:** [May 28, 2014, 10:01am UTC](https://discuss.elastic.co/t/docs-delete-by-query-is-not-working-with-elasticsearch-1-2-0/17774/1 "2014-05-28T10:01:14Z")

</div>

i did version up elasticsearch from 0.90.7 to 1.2.0  
and i did regressionTest.

after that. doc-delete-by-query is not working.

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html)

e.g)  
{  
"query\_string": {  
"default\_field": "playId",  
"query": "9eaee1fb-c8ab-4ef3-9e37-5c3f68ba21e1 **OR** 6b6352c1-209e-4d0c-be85-c7048453ad03ORdbe9e6b3-895f-4bd4-8943-b50ddd8712 .. **OR**... more than 200 docu"  
}  
}

- request  
org.apache.http.wire[72] - http-outgoing-5 \>\> "DELETE /test\_10.70.16.183\_708246/temp/\_query HTTP/1.1[\r][\n]"

- response

{  
"\_indices":{  
"test\_10.70.16.183\_708246":{  
"\_shards":{  
"total":2,  
"successful":0,  
"failed":2,  
"failures":[  
{  
"index":"test\_10.70.16.183\_708246",  
"shard":0,  
"reason":"RemoteTransportException[  
[  
10.99.198.150\_21000  
][  
inet[  
/10.99.198.150:21000  
]  
][  
deleteByQuery/shard  
]  
]; nested: QueryParsingException[  
[  
test\_10.70.16.183\_708246  
] request does not support [  
simple\_query\_string  
]  
]; "  
},  
{  
"index":"test\_10.70.16.183\_708246",  
"shard":1,  
"reason":"RemoteTransportException[  
[  
10.99.198.150\_21001  
][  
inet[  
/10.99.198.150:21001  
]  
][  
deleteByQuery/shard  
]  
]; nested: QueryParsingException[  
[  
test\_10.70.16.183\_708246  
] request does not support [  
simple\_query\_string  
]  
]; "  
}  
]  
}  
}  
}  
}

what's worng?  
plz somebody help me.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:26am UTC](https://discuss.elastic.co/t/docs-delete-by-query-is-not-working-with-elasticsearch-1-2-0/17774/2 "2017-07-06T01:26:25Z")

</div>


