# EdgeNgram Boosting more than Synonum

**URL:** <https://discuss.elastic.co/t/edgengram-boosting-more-than-synonum/15393>\
**Category:** Elasticsearch\
**Created:** [January 24, 2014, 5:15am UTC](https://discuss.elastic.co/t/edgengram-boosting-more-than-synonum/15393 "2014-01-24T05:15:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul1/32/46819_2.png) [@paul1](https://discuss.elastic.co/u/paul1)\
**Post date:** [January 24, 2014, 5:15am UTC](https://discuss.elastic.co/t/edgengram-boosting-more-than-synonum/15393/1 "2014-01-24T05:15:20Z")

</div>

Hi ,

I have the following entry in my synonym properties

YU,Yeshiva University,Yale University

my college name field has the following mapping

"autocomplete\_search":{  
"type":"custom",  
"tokenizer":"whitespace",  
"filter":[  
"lowercase",  
"syns\_filter"  
]  
},  
"autocomplete\_index":{  
"type":"custom",  
"tokenizer":"whitespace",  
"filter":[  
"lowercase",  
"syns\_filter",  
"my\_edgeNgram"  
]  
}

When i query

{  
"fields": [  
"name"  
],  
"query": {  
"match": {  
"name": {  
"query": "YU"  
}  
}  
}  
}

my results are as below:

"name": "Yuba College"  
"name": "Yukon Beauty College"  
"name": "Yale University"  
"name": "Cambridge Junior College - Yuba City"

Tough "Yale University" matched completely from synonums still the other  
two results are higher up which matched "YU" why?

-paul

--  
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/cf3530d4-1ac8-4ba7-9ac7-e93d4ab2db0e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cf3530d4-1ac8-4ba7-9ac7-e93d4ab2db0e%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:55am UTC](https://discuss.elastic.co/t/edgengram-boosting-more-than-synonum/15393/2 "2017-07-06T01:55:04Z")

</div>


