Kuromoji plugin error

I have installed kuromoji plugin on elastic search server (bin/plugin
-install elasticsearch/elasticsearch-analysis-kuromoji/1.1.0) in order to
analyze japanese texts that are being stored in index. One of the mappings
in index is:

"japaneseFirstname" : { "type" : "string", "index" : "analyzed", "analyzer"
: "kuromoji"},

But when i try to insert value in this field, the server throws error. Are
there any lucene dependencies that have to include on the server?

Caused by: org.elasticsearch.index.mapper.MapperParsingException: Analyzer
[kuromoji] not found for field [japaneseFirstname]
at
org.elasticsearch.index.mapper.core.TypeParsers.parseField(TypeParsers.java:76)
at
org.elasticsearch.index.mapper.core.StringFieldMapper$TypeParser.parse(StringFieldMapper.java:124)
at
org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:261)
at
org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parse(ObjectMapper.java:217)
at
org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:161)
at
org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:364)
at org.elasticsearch.index.mapper.MapperService.add(MapperService.java:186)
at
org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:259)
... 4 more

--
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.

ok never mind. The elastic search version that i was using was causing the
issue. I had 0.19.10 installed which didn't recognize kuromoji. Updating
it to latest version resolved the issue.

--
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.