Amazon like search feature

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 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.

This is NLP-like search, so something like k-nearest neighbor (kNN) search | Elasticsearch Guide [8.5] | Elastic might work for you.

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