# Specify type in delete by query

**URL:** <https://discuss.elastic.co/t/specify-type-in-delete-by-query/120912>\
**Category:** Elasticsearch\
**Created:** [February 21, 2018, 6:23pm UTC](https://discuss.elastic.co/t/specify-type-in-delete-by-query/120912 "2018-02-21T18:23:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasanth\_nair1](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@prasanth\_nair1](https://discuss.elastic.co/u/prasanth_nair1)\
**Post date:** [February 21, 2018, 6:23pm UTC](https://discuss.elastic.co/t/specify-type-in-delete-by-query/120912/1 "2018-02-21T18:23:39Z")

</div>

Currently delete by query (java api) only accepts index and i couldn't find an option to provide type .Am i missing something ? i am working with version 5.4

---

<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:** [March 21, 2018, 6:49pm UTC](https://discuss.elastic.co/t/specify-type-in-delete-by-query/120912/3 "2018-03-21T18:49:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
