Can one write his own tokenizer of filter class and use it inside
elasticsearch? Is there any API to use a user defined objects using java
classes? (like Lucene analyzer...)
--
Can one write his own tokenizer of filter class and use it inside
elasticsearch? Is there any API to use a user defined objects using java
classes? (like Lucene analyzer...)
--
In your plugin, you can add your custom tokenizer to the AnalysisModule.
The AnalysisModule has an addProcessor method which takes
an AnalysisBinderProcessor. Add your tokenizer to a new instance via
the processTokenizers method. Hopefully this all makes sense!
Cheers,
Ivan
On Tue, Dec 4, 2012 at 7:45 AM, Eyal Ben-Meir eyalbm@gmail.com wrote:
Can one write his own tokenizer of filter class and use it inside
elasticsearch? Is there any API to use a user defined objects using java
classes? (like Lucene analyzer...)--
--
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.