# Regarding autosuggest completion type of field

**URL:** <https://discuss.elastic.co/t/regarding-autosuggest-completion-type-of-field/18183>\
**Category:** Elasticsearch\
**Created:** [June 18, 2014, 1:32pm UTC](https://discuss.elastic.co/t/regarding-autosuggest-completion-type-of-field/18183 "2014-06-18T13:32:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taral\_Oza](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@Taral\_Oza](https://discuss.elastic.co/u/Taral_Oza)\
**Post date:** [June 18, 2014, 1:32pm UTC](https://discuss.elastic.co/t/regarding-autosuggest-completion-type-of-field/18183/1 "2014-06-18T13:32:38Z")

</div>

Hello All,

I am getting the the error about field name title\_suggest is not of type  
completion, while trying to call autosuggest using completion type.

_MAPPING :_

{"catalog\_search":{"dynamic":"true","properties": {"\_delete":{"type":  
"string"},"id": {"type": "integer"},"title": {"type": "string"},"image":  
{"type": "string"},"title\_suggest": {"type":  
"completion","index\_analyzer": "simple","search\_analyzer":  
"simple","payloads":  
true},"is\_category":{"type":"boolean","default":"false"},"description":{"type":  
"string"},"url":{"type": "string"},"sku":{"type":  
"string"},"status":{"type": "string"},"categories":  
{"type":"object","dynamic":true},"attributes":  
{"type":"object","dynamic":true},"price":{"type":  
"float"},"add\_cart\_link":{"type": "string"}}}}

Please let me know what's wrong with my mapping ..

Thanks,  
Taral Oza

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 19, 2014, 9:23am UTC](https://discuss.elastic.co/t/regarding-autosuggest-completion-type-of-field/18183/2 "2014-06-19T09:23:07Z")

</div>

Hey,

just a wild guess: Are you having more than one type in your mapping and  
not every type has this field configured as a completion field?  
If it is not this cause, can you create a full blown recreation like  
mentioned in [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/help)

Thanks a lot!

--Alex

On Wed, Jun 18, 2014 at 3:32 PM, Taral Oza [taraloza.135@gmail.com](mailto:taraloza.135@gmail.com) wrote:

> Hello All,
> 
> I am getting the the error about field name title\_suggest is not of type  
> completion, while trying to call autosuggest using completion type.
> 
> _MAPPING :_
> 
> {"catalog\_search":{"dynamic":"true","properties": {"\_delete":{"type":  
> "string"},"id": {"type": "integer"},"title": {"type": "string"},"image":  
> {"type": "string"},"title\_suggest": {"type":  
> "completion","index\_analyzer": "simple","search\_analyzer":  
> "simple","payloads":  
> true},"is\_category":{"type":"boolean","default":"false"},"description":{"type":  
> "string"},"url":{"type": "string"},"sku":{"type":  
> "string"},"status":{"type": "string"},"categories":  
> {"type":"object","dynamic":true},"attributes":  
> {"type":"object","dynamic":true},"price":{"type":  
> "float"},"add\_cart\_link":{"type": "string"}}}}
> 
> Please let me know what's wrong with my mapping ..
> 
> Thanks,  
> Taral Oza
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM\_Yz2MzKen449NnL\_EW5TOFCa%2BAkTxmGyPRK-b87fFyxw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_Yz2MzKen449NnL_EW5TOFCa%2BAkTxmGyPRK-b87fFyxw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:21am UTC](https://discuss.elastic.co/t/regarding-autosuggest-completion-type-of-field/18183/3 "2017-07-06T01:21:15Z")

</div>


