Utilizing other lucene analyzers (eg stanford lemmatizer)


(Bob Lannon) #1

Interested in making use of the Stanford lucene lemmatizer analyzer, but
I'm unsure of how to make it available to ES, since all of the analyzers
that are included are contained within the lucene-analyzers-x.x.x.jar
file. How would I go about this?

Thanks for any help you can offer!

--


(Chris Male) #2

Bob,

It is possible to use other Lucene compatible Analyzers by registering them
through a plugin.
http://www.elasticsearch.org/guide/reference/modules/plugins.html lists a
number of analysis plugins which can serve as examples. The first one
listed, https://github.com/elasticsearch/elasticsearch-analysis-smartcn,
is a pretty good demonstration of the code necessary to do so.

On Wednesday, September 19, 2012 9:37:11 AM UTC+12, Bob Lannon wrote:

Interested in making use of the Stanford lucene lemmatizer analyzer, but
I'm unsure of how to make it available to ES, since all of the analyzers
that are included are contained within the lucene-analyzers-x.x.x.jar
file. How would I go about this?

Thanks for any help you can offer!

--


(system) #3