# Synonyms filter for searching a word

**URL:** <https://discuss.elastic.co/t/synonyms-filter-for-searching-a-word/91271>\
**Category:** Elasticsearch\
**Created:** [June 29, 2017, 11:19am UTC](https://discuss.elastic.co/t/synonyms-filter-for-searching-a-word/91271 "2017-06-29T11:19:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshraddha](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jshraddha](https://discuss.elastic.co/u/jshraddha)\
**Post date:** [June 29, 2017, 11:19am UTC](https://discuss.elastic.co/t/synonyms-filter-for-searching-a-word/91271/1 "2017-06-29T11:19:59Z")

</div>

Hi,

I used synonym filter and put mapping as follows :  
`estimate => estimate, evaluate, judge`

So here when I write a query to search word estimate it returns me the result which contains the word **estimate** as well as **evaluate**.

This is working fine. Now I have to do another search where let say this **judge** word is not present in the document but if I search with the word judge then it should show me results with **estimate** and **evaluate**.  
Or let say I have a mapping like this `profit => net income`  
and my document contains word " **net income**" but it is not having word **profit** , so if I search by word **profit** then it should return me **net income** in the result. This is not happening can someone tell me what mapping to be used for this or is there any other way to do such things with synonyms

---

<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 27, 2017, 11:20am UTC](https://discuss.elastic.co/t/synonyms-filter-for-searching-a-word/91271/2 "2017-07-27T11:20:14Z")

</div>

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