parent
0add553832
commit
d0b89c227c
|
@ -48,7 +48,7 @@ public class KuromojiPartOfSpeechFilterFactory extends AbstractTokenFilterFactor
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TokenStream create(TokenStream tokenStream) {
|
public TokenStream create(TokenStream tokenStream) {
|
||||||
return new JapanesePartOfSpeechStopFilter(Version.LUCENE_44, tokenStream, stopTags);
|
return new JapanesePartOfSpeechStopFilter(Version.LUCENE_48, tokenStream, stopTags);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class KuromojiIndicesAnalysis extends AbstractComponent {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TokenStream create(TokenStream tokenStream) {
|
public TokenStream create(TokenStream tokenStream) {
|
||||||
return new JapanesePartOfSpeechStopFilter(Version.LUCENE_44,
|
return new JapanesePartOfSpeechStopFilter(Version.LUCENE_48,
|
||||||
tokenStream, JapaneseAnalyzer
|
tokenStream, JapaneseAnalyzer
|
||||||
.getDefaultStopTags());
|
.getDefaultStopTags());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue