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