elasticsearch.yml config:
index:
analysis:
analyzer:
ik:
alias: [ik_analyzer]
type: org.elasticsearch.index.analysis.IkAnalyzerProvider
when I use elasticsearch 0.90.0 ,happend error:
[2013-05-30 13:59:46,064][DEBUG][action.admin.indices.analyze] [Octavius, Dr. Otto] failed to execute [org.elasticsearch.action.admin.indices.analyze.AnalyzeRequest@1ccbc0b]
org.elasticsearch.ElasticSearchException: failed to analyze
at org.elasticsearch.action.admin.indices.analyze.TransportAnalyzeAction.shardOperation(TransportAnalyzeAction.java:218)
at org.elasticsearch.action.admin.indices.analyze.TransportAnalyzeAction.shardOperation(TransportAnalyzeAction.java:57)
at org.elasticsearch.action.support.single.custom.TransportSingleCustomOperationAction$AsyncSingleAction$2.run(TransportSingleCustomOperationAction.java:175)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Stream closed
at org.elasticsearch.common.io.FastStringReader.ensureOpen(FastStringReader.java:53)
at org.elasticsearch.common.io.FastStringReader.read(FastStringReader.java:98)
at java.io.Reader.read(Reader.java:140)
at org.wltea.analyzer.core.AnalyzeContext.fillBuffer(AnalyzeContext.java:124)
at org.wltea.analyzer.core.IKSegmenter.next(IKSegmenter.java:122)
at org.wltea.analyzer.lucene.ESIKtokenizer.incrementToken(ESIKtokenizer.java:42)
at org.elasticsearch.action.admin.indices.analyze.TransportAnalyzeAction.shardOperation(TransportAnalyzeAction.java:209)
... 5 more