Allow custom type_table to be passed to Lucene's WordDelimiterFilter() constructor, instead of just the default
This commit is contained in:
parent
195e586fd8
commit
3925c0b4e1
|
@ -92,7 +92,7 @@ public class WordDelimiterTokenFilterFactory extends AbstractTokenFilterFactory
|
|||
@Override
|
||||
public TokenStream create(TokenStream tokenStream) {
|
||||
return new WordDelimiterFilter(tokenStream,
|
||||
WordDelimiterIterator.DEFAULT_WORD_DELIM_TABLE,
|
||||
charTypeTable,
|
||||
generateWordParts ? 1 : 0,
|
||||
generateNumberParts ? 1 : 0,
|
||||
catenateWords ? 1 : 0,
|
||||
|
|
Loading…
Reference in New Issue