@Override
public TokenStream create(TokenStream tokenStream) {
if (expansionType.equals(ExpansionType.LABEL)) {
return new SKOSLabelFilter(tokenStream, skosEngine, new StandardAnalyzer(SKOSAnalysisPlugin.getLuceneVersion()), bufferSize, type);
} else {
return new SKOSURIFilter(tokenStream, skosEngine, new StandardAnalyzer(SKOSAnalysisPlugin.getLuceneVersion()), type);
}
}