# How to suggest words instead of exact data match in suggestions?

**URL:** https://discuss.elastic.co/t/how-to-suggest-words-instead-of-exact-data-match-in-suggestions/360763
**Category:** Elasticsearch
**Created:** [June 4, 2024, 7:27am UTC](https://discuss.elastic.co/t/how-to-suggest-words-instead-of-exact-data-match-in-suggestions/360763 "2024-06-04T07:27:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![furkangulec](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@furkangulec](https://discuss.elastic.co/u/furkangulec)
#### Post date: [June 4, 2024, 7:27am UTC](https://discuss.elastic.co/t/how-to-suggest-words-instead-of-exact-data-match-in-suggestions/360763/1 "2024-06-04T07:27:36Z")

</div>

For example, I have 5 products

Samsung Galaxy S24 Phone  
Samsung Galaxy Phone S23  
Samsung Smart TV HD 4K  
Smart TV Samsung Full HD 4K  
Samsung Smart Phone S20FE 64GB  
etc. etc.

When I type something using edge ngram or ngram, I can directly fetch the matching products, but how can I complete the words I type instead of direct product matching like on e-commerce sites?

For example, when I type "samsung", I want it to give me suggestions such as "samsung phone", "samsung smart tv", "samsung s20fe". I looked at a lot of things about autocomplete and suggestion but they all match the exact name of the products so I didn't know how to do it the way I wanted. I'm new to Elasticsearch can you please help me on what I should research? I apologize if I explained my problem incorrectly, my English is not very good 😕
