# How to ignore missing fields while reindexing in Elasticsearch

**URL:** https://discuss.elastic.co/t/how-to-ignore-missing-fields-while-reindexing-in-elasticsearch/215200
**Category:** Elasticsearch
**Created:** [January 15, 2020, 8:14pm UTC](https://discuss.elastic.co/t/how-to-ignore-missing-fields-while-reindexing-in-elasticsearch/215200 "2020-01-15T20:14:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![OliverWu](https://avatars.discourse-cdn.com/v4/letter/o/a8b319/32.png) [@OliverWu](https://discuss.elastic.co/u/OliverWu)
#### Post date: [January 15, 2020, 8:14pm UTC](https://discuss.elastic.co/t/how-to-ignore-missing-fields-while-reindexing-in-elasticsearch/215200/1 "2020-01-15T20:14:49Z")

</div>

If I have a destination index with only portion of source index, and I only want to reindex these fields from source index to destination index, Can I still using the reindex API or what should I do with this situation? Any solutions or suggestions thanks!

If I direct do reindex, the error is like Could not convert [fieldName] to boolean. fieldName is the missing field.

---

<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: [February 12, 2020, 8:25pm UTC](https://discuss.elastic.co/t/how-to-ignore-missing-fields-while-reindexing-in-elasticsearch/215200/2 "2020-02-12T20:25:28Z")

</div>

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