zkcx / jcseg

Automatically exported from code.google.com/p/jcseg
0 stars 0 forks source link

1.9.4版本不支持solr4.9? #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
在solr4.9版本中添加jcseg-1.9.4 ,执行分词是报一下错误

ERROR - 2014-07-11 02:11:08.290; org.apache.solr.common.SolrException; 
null:java.lang.RuntimeException: java.lang.AbstractMethodError
        at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:793)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:434)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AbstractMethodError
        at org.apache.lucene.analysis.util.TokenizerFactory.create(TokenizerFactory.java:76)
        at org.apache.solr.handler.AnalysisRequestHandlerBase.analyzeValue(AnalysisRequestHandlerBase.java:117)
        at org.apache.solr.handler.FieldAnalysisRequestHandler.analyzeValues(FieldAnalysisRequestHandler.java:226)
        at org.apache.solr.handler.FieldAnalysisRequestHandler.handleAnalysisRequest(FieldAnalysisRequestHandler.java:187)
        at org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:102)
        at org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
        at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1962)
        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
        ... 13 more

Original issue reported on code.google.com by qq297110...@gmail.com on 11 Jul 2014 at 9:38

GoogleCodeExporter commented 8 years ago
支持的,注意下你的配置。 
solr在5.0版本前,analyzer的接口不会变化。

Original comment by chenxin6...@gmail.com on 19 Jul 2014 at 7:47

GoogleCodeExporter commented 8 years ago
已经更改了, 支持solr-4.9.0.  
请到git.oschina.net/lionsoul/jcseg下载最新版本.

Original comment by chenxin6...@gmail.com on 17 Aug 2014 at 5:47