# Amazon like search feature

**URL:** <https://discuss.elastic.co/t/amazon-like-search-feature/321458>\
**Category:** Elasticsearch\
**Created:** [December 17, 2022, 3:45pm UTC](https://discuss.elastic.co/t/amazon-like-search-feature/321458 "2022-12-17T15:45:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divit\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divit_sharma/32/32348_2.png) [@Divit\_Sharma](https://discuss.elastic.co/u/Divit_Sharma)\
**Post date:** [December 17, 2022, 3:45pm UTC](https://discuss.elastic.co/t/amazon-like-search-feature/321458/1 "2022-12-17T15:45:11Z")

</div>

I have a query about Elasticsearch text search use case and I couldn't find any article/blogs on it.

I want to implement a feature (similar to [Amazon.com](http://Amazon.com)) where user can type "tshirt below 500" and the searches would return products whose prices are less than 500. Any idea how we can go about implementing such feature? Any articles.

What I can think of was to parse the text to fetch the price value when I encounter words like "below", "above" etc and add a filter clause but I am not sure.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 18, 2022, 10:54pm UTC](https://discuss.elastic.co/t/amazon-like-search-feature/321458/2 "2022-12-18T22:54:43Z")

</div>

This is NLP-like search, so something like [k-nearest neighbor (kNN) search | Elasticsearch Guide [8.5] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.5/knn-search.html) might work for you.

---

<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:** [January 15, 2023, 10:54pm UTC](https://discuss.elastic.co/t/amazon-like-search-feature/321458/3 "2023-01-15T22:54:57Z")

</div>

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