# Reindex API doesn't index .percolator documents unless explicitly specified

**URL:** <https://discuss.elastic.co/t/reindex-api-doesnt-index-percolator-documents-unless-explicitly-specified/54841>\
**Category:** Elasticsearch\
**Created:** [July 6, 2016, 2:41pm UTC](https://discuss.elastic.co/t/reindex-api-doesnt-index-percolator-documents-unless-explicitly-specified/54841 "2016-07-06T14:41:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayushsangani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayushsangani/32/9612_2.png) [@ayushsangani](https://discuss.elastic.co/u/ayushsangani)\
**Post date:** [July 6, 2016, 2:41pm UTC](https://discuss.elastic.co/t/reindex-api-doesnt-index-percolator-documents-unless-explicitly-specified/54841/1 "2016-07-06T14:41:47Z")

</div>

Hey all,  
I'm using ES 2.3.2, we have used Reindex API couple of times to index documents of all the mapping types to new index. It skips `.percolator` type documents unless you specify that explicitly.

For ex:

```auto
POST /_reindex?refresh&wait_for_completition=false
{
   "source": {
      "index": "prod-small-1",
      "size": 5000
   },
   "dest": {
      "index": "prod-small-0"
   }
}

```

`prod-small-1` has mapping types `test1`, `test2` and `.percolator`.  
After executing above query only `test1` and `test2` mapping type documents are indexed into `prod-small-0` index.  
Ideally if you don't specify any mapping type it should index documents from all mapping types.

I'm not sure if this is the expected behavior or it's a bug.  
If it's a expected behavior, I would suggest adding this to the Reindex API documentation.

Thanks,  
Ayush Sangani

---

<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 5, 2017, 10:37pm UTC](https://discuss.elastic.co/t/reindex-api-doesnt-index-percolator-documents-unless-explicitly-specified/54841/2 "2017-07-05T22:37:40Z")

</div>


