Howto add a self written token filter to ES


(Bernd Fehling) #1

I have a custom self written token filter for SOLR and want to port it to
ES.
Howto add a self written SOLR token filter to ES?

Just drop the jar into lib directory?

Is there a skeleton for developing own token filter for ES?

Regards,
Bernd

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Martijn Van Groningen) #2

I think the best way to find this this out is to look at an existing
analysis plugin like:

You basically need to write a factory class
(extend AbstractTokenFilterFactory) that creates your token filter and wire
it up in guice.

On 25 September 2013 11:49, Bernd Fehling bernd.fehling@googlemail.comwrote:

I have a custom self written token filter for SOLR and want to port it to
ES.
Howto add a self written SOLR token filter to ES?

Just drop the jar into lib directory?

Is there a skeleton for developing own token filter for ES?

Regards,
Bernd

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3