# How to get related results when keyword is not even matching

**URL:** <https://discuss.elastic.co/t/how-to-get-related-results-when-keyword-is-not-even-matching/45091>\
**Category:** Elasticsearch\
**Created:** [March 22, 2016, 10:44am UTC](https://discuss.elastic.co/t/how-to-get-related-results-when-keyword-is-not-even-matching/45091 "2016-03-22T10:44:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![batmaci](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@batmaci](https://discuss.elastic.co/u/batmaci)\
**Post date:** [March 22, 2016, 10:44am UTC](https://discuss.elastic.co/t/how-to-get-related-results-when-keyword-is-not-even-matching/45091/1 "2016-03-22T10:44:53Z")

</div>

How can I get results like in the screenshot? When I type "led tv", it should return some brands like samsung, lg etc as in the screenshot? I have seen synonyms but I am not exactly if it is the way to go?

[![](https://static.konversionskraft.de/2011/12/redcoon_led.png) ](https://static.konversionskraft.de/2011/12/redcoon_led.png)

---

<div class="post-metadata">

**Author:** ![chocomuesli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chocomuesli/32/4152_2.png) [@chocomuesli](https://discuss.elastic.co/u/chocomuesli)\
**Post date:** [March 22, 2016, 10:57am UTC](https://discuss.elastic.co/t/how-to-get-related-results-when-keyword-is-not-even-matching/45091/2 "2016-03-22T10:57:26Z")

</div>

Hi Emil,

maybe you can enrich your data set with with further information like tags, item-type or categories. We also have Elasticsearch to represent a product-catalog and introduced this kind of information, as it's necessary.

E.g. customers search for certain item-types like 'gear', 'set' or 'accessoire'. As this information is finite, we are able to add this into our search-catalog.

Furthermore, if you are using the Java API for querying, you could implement a pre processor on 'keyword-spotting'. In this approach we run single search terms against certain dictionaries (with keywords) from our database - e.g. with all existing colors or item-types. Every match per term is a 'must'-clause in the search-request against Elasticsearch, narrowing down the result set.

Cheers, Dominik

---

<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 5, 2017, 11:06pm UTC](https://discuss.elastic.co/t/how-to-get-related-results-when-keyword-is-not-even-matching/45091/3 "2017-07-05T23:06:20Z")

</div>

Closed on July 5, 2017, 11:06pm UTC


