0
FSDirectory fsd = FSDirectory.open(indexDirectory);

IndexSearcher is = new IndexSearcher(fsd);

QueryParser parser = new QueryParser(Version.LUCENE_CURRENT,"data", analyzer);
4

1 回答 1

0

您必须使用CJKAnalyzer或字典支持的分析器,如lucene-gosen(日语)

于 2013-09-04T06:31:20.503 回答