# Synonyms with digits

**URL:** <https://discuss.elastic.co/t/synonyms-with-digits/113774>\
**Category:** Elasticsearch\
**Created:** [January 2, 2018, 1:01pm UTC](https://discuss.elastic.co/t/synonyms-with-digits/113774 "2018-01-02T13:01:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilisade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gilisade/32/98740_2.png) [@gilisade](https://discuss.elastic.co/u/gilisade)\
**Post date:** [January 2, 2018, 1:01pm UTC](https://discuss.elastic.co/t/synonyms-with-digits/113774/1 "2018-01-02T13:01:19Z")

</div>

Hi There  
using ES 5.5  
this is the section in my template  
"analysis": {  
"filter": {  
"synonym": {  
"type": "synonym",  
"synonyms\_path": "analysis/synonym.txt",  
"tokenizer": "lowercase"  
}  
},  
"analyzer": {  
"ngraman": {  
"filter": [  
"lowercase",  
"synonym"  
],  
"type": "custom",  
"tokenizer": "ngram\_tokenizer"  
},  
"search\_standard": {  
"filter": [  
"lowercase",  
"synonym"  
],  
"type": "custom",  
"tokenizer": "search\_tokenizer"  
}  
},  
"tokenizer": {  
"ngram\_tokenizer": {  
"token\_chars": [  
"letter",  
"digit",  
"punctuation"  
],  
"min\_gram": "3",  
"type": "edge\_ngram",  
"max\_gram": "17"  
},  
"search\_tokenizer": {  
"token\_chars": [  
"letter",  
"digit",  
"punctuation"  
],  
"type": "whitespace"  
}  
}  
}

this is my synonyms file:

tech =\> technology  
resistor =\> resistore  
capacitor =\> capacitore , capecitore  
capacitor =\> TEST  
TI =\> Texas instrume  
a2c =\> adc

all of the synonyms work besides this one:  
a2c =\> adc

is there a reason ? digits dont work?

---

<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:** [January 30, 2018, 1:01pm UTC](https://discuss.elastic.co/t/synonyms-with-digits/113774/2 "2018-01-30T13:01:27Z")

</div>

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