# Autosuggester for parts from products/title with ES5

**URL:** https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542
**Category:** Elasticsearch
**Created:** [November 9, 2016, 6:37pm UTC](https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542 "2016-11-09T18:37:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![basti](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basti](https://discuss.elastic.co/u/basti)
#### Post date: [November 9, 2016, 6:37pm UTC](https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542/1 "2016-11-09T18:37:41Z")

</div>

Hello,

since weeks i am searching the best way to do a suggester/completer for my products. I found some nice tutorials like: [https://www.elastic.co/blog/you-complete-me](https://www.elastic.co/blog/you-complete-me) but no one could help me.

I have some products in my Index with titles. For example:  
"Apple iPhone 5s, 32GB", "Apple iPad Pro, 9.7, 32GB" "Sony xPeria, Handy" "Google Pixel, Handy"

So my Problem now is the search=\>suggest i want to get:  
"a" =\> "apple"  
"pix" =\> "pixel"  
"apple i" =\> "apple iphone, apple ipad"  
"handy g" =\> "handy google"  
"handi" =\> "handy"  
"apple ifone" =\> "apple iphone"

Everytime i got the full title as response. Like search for "sony h" i got "sony xperia, handy" instead of "sony handy"

Is there a way to get this problem solved with the current suggesters? And if yes, how could i solve this?

Thanks in advance!!!

---

<div class="post-metadata">

### Author: ![basti](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basti](https://discuss.elastic.co/u/basti)
#### Post date: [November 16, 2016, 8:47pm UTC](https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542/2 "2016-11-16T20:47:57Z")

</div>

hello again,  
I tried last days and tried to get support everywhere, but without success ☹  
Is it possible that there is no way to solve this problem with ES?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![basti](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basti](https://discuss.elastic.co/u/basti)
#### Post date: [November 16, 2016, 10:10pm UTC](https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542/3 "2016-11-16T22:10:53Z")

</div>

i just done it with "complete" suggester, but now it shows me 100 times e.G. "apple" is it possible to group this results and order by frequency?

---

<div class="post-metadata">

### Author: ![msimos](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@msimos](https://discuss.elastic.co/u/msimos)
#### Post date: [November 16, 2016, 11:30pm UTC](https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542/4 "2016-11-16T23:30:10Z")

</div>

Hi,

I'd recommend watching this video.

[https://www.elastic.co/videos/using-the-completion-suggester](https://www.elastic.co/videos/using-the-completion-suggester)

Its kind of old but gives a good walk through of how to use the completion suggester.

---

<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 14, 2016, 11:30pm UTC](https://discuss.elastic.co/t/autosuggester-for-parts-from-products-title-with-es5/65542/5 "2016-12-14T23:30:25Z")

</div>

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