Regarding autosuggest completion type of field

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/02e5a3bc-c7ea-4424-be47-8153b4e6887d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

Thanks a lot!

--Alex

On Wed, Jun 18, 2014 at 3:32 PM, Taral Oza 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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit 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.