# Completion field does not support null value

**URL:** <https://discuss.elastic.co/t/completion-field-does-not-support-null-value/76618>\
**Category:** Elasticsearch\
**Created:** [February 27, 2017, 12:40pm UTC](https://discuss.elastic.co/t/completion-field-does-not-support-null-value/76618 "2017-02-27T12:40:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andarius](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@Andarius](https://discuss.elastic.co/u/Andarius)\
**Post date:** [February 27, 2017, 12:40pm UTC](https://discuss.elastic.co/t/completion-field-does-not-support-null-value/76618/1 "2017-02-27T12:40:35Z")

</div>

Hi,

I'm trying to set up a completion field for query-as-you-type search in ES 2.4 . However, for some fields the content can be empty and I keep getting **MapperParsingException**.  
How could I do it without replacing the field by an empty string ?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 27, 2017, 3:20pm UTC](https://discuss.elastic.co/t/completion-field-does-not-support-null-value/76618/2 "2017-02-27T15:20:11Z")

</div>

Hey,

can you come up with a reproducible example based on curl?

--Alex

---

<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 27, 2017, 3:20pm UTC](https://discuss.elastic.co/t/completion-field-does-not-support-null-value/76618/3 "2017-03-27T15:20:24Z")

</div>

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