# More suggestions by chaining different entries

**URL:** <https://discuss.elastic.co/t/more-suggestions-by-chaining-different-entries/94483>\
**Category:** Elasticsearch\
**Created:** [July 25, 2017, 1:32pm UTC](https://discuss.elastic.co/t/more-suggestions-by-chaining-different-entries/94483 "2017-07-25T13:32:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [July 25, 2017, 1:32pm UTC](https://discuss.elastic.co/t/more-suggestions-by-chaining-different-entries/94483/1 "2017-07-25T13:32:24Z")

</div>

I don't know the exact term, I would like to see more suggestions from suggester. Here some data:

`"ipad not expensive" "ipad red" "buy ipad"`

So here "red" is a weak word, whereas "ipad" is strong.

And results I would like:

```
"ipad red" => "ipad red" / "ipad red not expensive" / "buy ipad red"

"red" => nothing

"buy i" => "buy ipad" "buy ipad red"

```

Here the key is to tokenize query, call several suggester (term1 / term2 / term1+term2 ....) like n-gram, and mix results. I achived this with code, but I am wondering if there is a pure elasticsearch way?

---

<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:** [August 22, 2017, 1:32pm UTC](https://discuss.elastic.co/t/more-suggestions-by-chaining-different-entries/94483/2 "2017-08-22T13:32:38Z")

</div>

Closed on August 22, 2017, 1:32pm UTC

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