Open GoogleCodeExporter opened 9 years ago
和solr整合查询的时候,也出现同样的异常
严重: java.lang.NullPointerException
at org.apache.lucene.analysis.Tokenizer.close(Tokenizer.java:71)
at org.apache.lucene.analysis.TokenFilter.close(TokenFilter.java:46)
at org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser
ava:619)
at org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParse
java:153)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:144
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1
7)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:12
)
at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser
ava:1254)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:20
at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java
8)
at org.apache.solr.search.QParser.getQuery(QParser.java:131)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryCompo
nt.java:89)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(S
rchHandler.java:174)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHan
erBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilt
.java:338)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFil
r.java:241)
Original comment by shanchun...@gmail.com
on 14 Jan 2010 at 11:42
Original issue reported on code.google.com by
shanchun...@gmail.com
on 14 Jan 2010 at 10:01