# Processor that converts integers to proper booleans

**URL:** <https://discuss.elastic.co/t/processor-that-converts-integers-to-proper-booleans/182456>\
**Category:** Elasticsearch\
**Created:** [May 23, 2019, 1:49pm UTC](https://discuss.elastic.co/t/processor-that-converts-integers-to-proper-booleans/182456 "2019-05-23T13:49:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jensxy](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@Jensxy](https://discuss.elastic.co/u/Jensxy)\
**Post date:** [May 23, 2019, 1:49pm UTC](https://discuss.elastic.co/t/processor-that-converts-integers-to-proper-booleans/182456/1 "2019-05-23T13:49:01Z")

</div>

Currently, I try to use reindex from remote to migrate indices from your old cluster to a new 7.1.0 cluster. However, ES 7.1 does not support booleans like 1 and 0 anymore so that the reindexing fails. My problem is similar to [Reindex from 2.4 to 6.5 failed on boolean type](https://discuss.elastic.co/t/reindex-from-2-4-to-6-5-failed-on-boolean-type/158846/2)

The solution is to create a pipeline with a processor that converts integers to proper booleans. My question is: How do I a create a pipeline with such a processor?

---

<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:** [June 20, 2019, 1:49pm UTC](https://discuss.elastic.co/t/processor-that-converts-integers-to-proper-booleans/182456/2 "2019-06-20T13:49:02Z")

</div>

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