# Autosuggestion service

**URL:** <https://discuss.elastic.co/t/autosuggestion-service/364547>\
**Category:** Elasticsearch\
**Created:** [August 7, 2024, 3:17pm UTC](https://discuss.elastic.co/t/autosuggestion-service/364547 "2024-08-07T15:17:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kosyakla](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kosyakla](https://discuss.elastic.co/u/kosyakla)\
**Post date:** [August 7, 2024, 3:17pm UTC](https://discuss.elastic.co/t/autosuggestion-service/364547/1 "2024-08-07T15:17:46Z")

</div>

Hello everyone,  
I'm thinking of building a suggestion service, similar to what you can see in google for example, so trying to wrap my head around Elasticsearch.  
Let's say we have a steam of users data which we can tokenize and remove stop words and other stuff.  
So let's say we have three messages coming from users:  
"Love is in the air"  
"I Love air balloons"  
"Love my wife"  
"I like strawberry"

Based on those posts I'd need to build indexes in a way -  
If a user types:  
"Love", they'd get  
"Love air"  
"Love balloons"  
"Love wife"

"Love air" -\>  
"Love air baloons"

etc

Is this something Elasticsearch can help with?  
My understanding I'd somehow need to score individual words within the sentence somehow.

Thanks!
