Open GoogleCodeExporter opened 8 years ago
请问能标明你改动了哪些地方吗?
Original comment by stt...@163.com
on 9 Jul 2010 at 6:23
我现在的版本是lucene3.0.2,加入这三个文件依然报:
Exception in thread "main" java.lang.NullPointerException
at net.paoding.analysis.analyzer.PaodingTokenizer.close(PaodingTokenizer.java:164)
at org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:571)
at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1362)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1250)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1178)
at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1167)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:182)
at test.TestBoBo.main(TestBoBo.java:44)
Original comment by stt...@163.com
on 9 Jul 2010 at 6:33
把paoding的PaodingTokenizer类的164行注释掉,就不会报错,已经在
lucene3.0.2试过
super.close();
// input.close();//这句导致报错
Original comment by hjbin...@gmail.com
on 14 Jul 2010 at 3:08
作者,你也更新下paoding分词器啊,现在solr都到3.5版本了,不兼容
paoding啊.虽然有IK分词可用,但貌似paoding分词效率要高些
Original comment by ll.2001p...@163.com
on 13 Dec 2011 at 1:14
Original issue reported on code.google.com by
reno....@gmail.com
on 3 Dec 2009 at 4:16Attachments: