spinscale / elasticsearch-suggest-plugin

Plugin for elasticsearch which uses the lucene FSTSuggester
203 stars 42 forks source link

Context support for the suggester #31

Open Sander-Toonen opened 10 years ago

Sander-Toonen commented 10 years ago

ElasticSearch 1.2 adds the ability to limit suggestions of the build in suggesters to a specific scope. I have no idea how complex it would be, but are there any plans to add this functionality to this plugin?

spinscale commented 10 years ago

Hey,

the general idea is, that you should use the context suggester in favor of this plugin. Is there any feature in the completion suggester missing, that prevents you from using it instead?

Sander-Toonen commented 10 years ago

My use case is the following:

As far as I know, the above is not possible with the current suggesters in elastic search, but please correct me if I'm wrong. This plugin does all of the above, except that we cannot filter on context.

Sander-Toonen commented 9 years ago

Hey @spinscale, I'm still struggling with this issue. Could you please inform me if the above use case is more or less possible with the completion suggester?

What I mean is a suggester that will produce Google-like on type autocompletion.

Thank you!

spinscale commented 9 years ago

sorry for not getting back, was drowned in work.

On top of my head I dont think that the google-like type autocompletion suggestion currently works with the completion suggester (maybe I am just missing a fancy mapping to make it work, need to think about it a bit more).

I do not have any intention to add filter capabilties to this one, but if you want to give it a spin, feel free to do so, potentially you can reuse some code of the core.