# Autocomplete for ecommerce

**URL:** <https://discuss.elastic.co/t/autocomplete-for-ecommerce/230641>\
**Category:** Elasticsearch\
**Created:** [April 30, 2020, 9:45pm UTC](https://discuss.elastic.co/t/autocomplete-for-ecommerce/230641 "2020-04-30T21:45:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![logipad\_Info\_Solutio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/logipad_info_solutio/32/67475_2.png) [@logipad\_Info\_Solutio](https://discuss.elastic.co/u/logipad_Info_Solutio)\
**Post date:** [April 30, 2020, 9:45pm UTC](https://discuss.elastic.co/t/autocomplete-for-ecommerce/230641/1 "2020-04-30T21:45:51Z")

</div>

hi, I am trying implement autosuggest for an ecomm website using elastic. I believe, alongwith returning product links(document matches), the autocomplete must also return most occuring phrases/shingles.

Example, if we have products - Silk Red Shoes, Silk Red Trousers, Cotton Red Shoes, etc. if i write "red", it should show "red", "red shoes", "red trousers".

How can we achieve that?

---

<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:** [May 28, 2020, 9:45pm UTC](https://discuss.elastic.co/t/autocomplete-for-ecommerce/230641/2 "2020-05-28T21:45:56Z")

</div>

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