# Force an object type into a text field?

**URL:** <https://discuss.elastic.co/t/force-an-object-type-into-a-text-field/118609>\
**Category:** Elasticsearch\
**Created:** [February 6, 2018, 10:22am UTC](https://discuss.elastic.co/t/force-an-object-type-into-a-text-field/118609 "2018-02-06T10:22:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![TheBronx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thebronx/32/18632_2.png) [@TheBronx](https://discuss.elastic.co/u/TheBronx)\
**Post date:** [February 6, 2018, 10:33am UTC](https://discuss.elastic.co/t/force-an-object-type-into-a-text-field/118609/3 "2018-02-06T10:33:35Z")

</div>

I have tried `"index": false` on that field, but still get an error.

It also seems that "ignore\_malformed" is not an option for "text" fields, which is weird cause a text field can fail too: `Can't get text on a START_OBJECT at 1:541`

---

_[View the full topic](https://discuss.elastic.co/t/force-an-object-type-into-a-text-field/118609)._
