Is it possible to use a custom suggester?

Hi

I have a custom lucene suggester; an implementation of org.apache.lucene.search.suggest.Lookup. Is it possible to wire this up in Elastic Search?
In SOLR, I can create a lookup factory and add this to the configuration.

Regards

Andy

Hi,

in theory it should be possible to write your own suggester as a plugin. I found this somewhat old PR that adds the ability to add a custom suggester (https://github.com/elastic/elasticsearch/issues/3089), however I'm pretty sure this is not documented very well and might not work at the moment because of changes in the way Plugins need to register some of the classes that might be needed. I will do some digging.

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