I have the same question about using an analyzer I have written as a plug-in for ElasticSearch 1.3.
https://github.com/elasticsearch/elasticsearch-analysis-kuromoji/blob/es-1.3/README.md demonstrates only how to use the tokenizers in combination with the built-in CustomAnalyzer. They do not show how to use the kuromoji analyzer itself. When I try to specify my analyzer for a field, I get errors like this: MapperParsingException[Analyzer [special_analyzer] not found for field [foo]]; Can you show an example of how to specify the kuromoji analyzer for a field? I should then be able to adapt it for use with my plugin analyzer. Thanks in advance, Art On Tuesday, August 5, 2014 12:34:42 AM UTC-7, Jun Ohtani wrote: > > Hi, > > I think this plugin will be helpful for you. > > https://github.com/elasticsearch/elasticsearch-analysis-kuromoji > 2014/08/05 15:58 <fanc...@gmail.com <javascript:>>: > >> I want to use my own Chinese analyzer and I can write lucene analyzer >> class myself. How can I integrate it to elasticsearch? >> I googled and found >> http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/custom-analyzers.html. >> >> But it only combine existing tokenizers and filters. I can use tokenizer >> writing in java by myself. >> >> -- >> 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 elasticsearc...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/c3fe52cd-8cb5-4c53-b0fe-87183deb45bf%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elasticsearch/c3fe52cd-8cb5-4c53-b0fe-87183deb45bf%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/da795847-3ea2-4afb-9a7b-aefdd6f111a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.