嗨,我有以下依赖:
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-queryparser</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
</dependency>
他们都在4.3。
MultiFieldQueryParser.parse(Version.LUCENE_43,
searchCriteria.getSearchTerms(), searchCriteria
.getSearchFields(), new EnglishAnalyzer(
Version.LUCENE_43));
我收到一条错误消息
org.apache.lucene.analysis.StopwordAnalayzerBase is indirectly referenced, however it does not exist.
我检查了包裹,它们是org.apache.lucene.analysis.util.StopWordAnalyzerBase
.
我该怎么做migrate
?我需要什么dependency
?
我的代码是 l