Update to Lucene 4.8

Closes #30.
(cherry picked from commit bf7cc95)
This commit is contained in:
David Pilato 2014-04-29 11:26:55 +02:00
parent 0add553832
commit d0b89c227c
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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());
}