# Analyzer \[suggester\] not found for field \[mark\_text\]

**URL:** <https://discuss.elastic.co/t/analyzer-suggester-not-found-for-field-mark-text/134207>\
**Category:** Elasticsearch\
**Created:** [June 1, 2018, 11:36am UTC](https://discuss.elastic.co/t/analyzer-suggester-not-found-for-field-mark-text/134207 "2018-06-01T11:36:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishwas\_jadav](https://avatars.discourse-cdn.com/v4/letter/v/13edae/32.png) [@vishwas\_jadav](https://discuss.elastic.co/u/vishwas_jadav)\
**Post date:** [June 1, 2018, 11:36am UTC](https://discuss.elastic.co/t/analyzer-suggester-not-found-for-field-mark-text/134207/1 "2018-06-01T11:36:16Z")

</div>

I have this index settings :  
{  
"phrase\_suggester" : {  
"aliases" : { },  
"mappings" : { },  
"settings" : {  
"index" : {  
"number\_of\_shards" : "5",  
"provided\_name" : "phrase\_suggester",  
"creation\_date" : "1527851987771",  
"analysis" : {  
"filter" : {  
"shingle" : {  
"max\_shingle\_size" : "3",  
"min\_shingle\_size" : "2",  
"type" : "shingle"  
}  
},  
"normalizer" : {  
"lowercase\_normalizer" : {  
"filter" : [  
"lowercase"  
],  
"type" : "custom",  
"char\_filter" : []  
}  
},  
"analyzer" : {  
"suggester" : {  
"filter" : [  
"shingle",  
"standard"  
],  
"type" : "custom",  
"tokenizer" : "standard"  
}  
}  
},  
"number\_of\_replicas" : "1",  
"uuid" : "cQdyS2zGQ4anbug6ZwEDkg",  
"version" : {  
"created" : "6020499"  
}  
}  
}  
}  
}

And mapping like this (in php array Sorry for that):  
{  
"id": {  
"type": "integer"  
},  
"did": {  
"type": "integer"  
},  
"fil\_date": {  
"type": "double"  
},  
"file\_nr": {  
"type": "double"  
},  
"mark\_text": {  
"type": "text",  
"analyzer": "suggester"  
},  
"markdescr": {  
"type": "text"  
},  
"markdescrtext": {  
"type": "text"  
},  
"statusapplication": {  
"type": "text"  
},  
"mark\_type\_id": {  
"type": "text"  
},  
"niceclmain": {  
"type": "double"  
},  
"owname": {  
"type": "text",  
"analyzer": "suggester"  
}  
}

when try to put mappings I have this error :  
{"error":{"root\_cause":[{"type":"mapper\_parsing\_exception","reason":"analyzer [suggester] not found for field [mark\_text]"}],"type":"mapper\_parsing\_exception","reason":"analyzer [suggester] not found for field [mark\_text]"},"status":400}

---

<div class="post-metadata">

**Author:** ![vishwas\_jadav](https://avatars.discourse-cdn.com/v4/letter/v/13edae/32.png) [@vishwas\_jadav](https://discuss.elastic.co/u/vishwas_jadav)\
**Post date:** [June 1, 2018, 12:41pm UTC](https://discuss.elastic.co/t/analyzer-suggester-not-found-for-field-mark-text/134207/2 "2018-06-01T12:41:28Z")

</div>

I found my fault I forgot to change my index when trying to put mappings.

---

<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:** [June 29, 2018, 12:41pm UTC](https://discuss.elastic.co/t/analyzer-suggester-not-found-for-field-mark-text/134207/3 "2018-06-29T12:41:34Z")

</div>

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