# Is there a way to know which synonym matched along with field value in the search ouput

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-know-which-synonym-matched-along-with-field-value-in-the-search-ouput/16780>\
**Category:** Elasticsearch\
**Created:** [April 2, 2014, 11:34pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-know-which-synonym-matched-along-with-field-value-in-the-search-ouput/16780 "2014-04-02T23:34:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saiprasad\_mishra](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@saiprasad\_mishra](https://discuss.elastic.co/u/saiprasad_mishra)\
**Post date:** [April 2, 2014, 11:34pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-know-which-synonym-matched-along-with-field-value-in-the-search-ouput/16780/1 "2014-04-02T23:34:13Z")

</div>

Hi All

Lets say we are trying to search for a field which has some stemming filter  
configured for synonyms. If field has value called x and for which there is  
a synonym y then can the search result return both x and y  
Should I do some thing in the index time to store it before hand or is  
there any out of box features

Regards  
Sai

--  
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/9d1bfcc0-1203-4897-9c67-a4f03640ede3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9d1bfcc0-1203-4897-9c67-a4f03640ede3%40googlegroups.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:38am UTC](https://discuss.elastic.co/t/is-there-a-way-to-know-which-synonym-matched-along-with-field-value-in-the-search-ouput/16780/2 "2017-07-06T01:38:38Z")

</div>


