# How to make words combination

**URL:** <https://discuss.elastic.co/t/how-to-make-words-combination/109326>\
**Category:** Elasticsearch\
**Created:** [November 28, 2017, 7:55am UTC](https://discuss.elastic.co/t/how-to-make-words-combination/109326 "2017-11-28T07:55:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shekhar\_Pandey](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shekhar\_Pandey](https://discuss.elastic.co/u/Shekhar_Pandey)\
**Post date:** [November 28, 2017, 7:55am UTC](https://discuss.elastic.co/t/how-to-make-words-combination/109326/1 "2017-11-28T07:55:02Z")

</div>

Hi..

My query is can I make words combinations like I have  
suggest["Hammer", "Red", "fortis"]

So if i used suggest query like below  
POST music/\_search?pretty  
{  
"suggest": {  
"song-suggest" : {  
"prefix" : "hamm",  
"completion" : {  
"field" : "suggest"  
}  
}  
}  
}

I will get hammer as a result.....but if user first type hammer and then fortis....Then it 's not working.....  
so any idea how after given suggestion of hammer it will search next word from suggestion so that suggestion will display  
hammer fortis....

Thanks

---

<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:** [December 26, 2017, 7:55am UTC](https://discuss.elastic.co/t/how-to-make-words-combination/109326/2 "2017-12-26T07:55:13Z")

</div>

Closed on December 26, 2017, 7:55am UTC

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