Skip to content
This repository
Browse code

Allow custom type_table to be passed to Lucene's WordDelimiterFilter(…

…) constructor, instead of just the default
  • Loading branch information...
commit 3925c0b4e11625955c0af3092df0d0d2e9348117 1 parent 195e586
Jacob Evans jacobevans authored kimchy committed
2  src/main/java/org/elasticsearch/index/analysis/WordDelimiterTokenFilterFactory.java
@@ -92,7 +92,7 @@ public WordDelimiterTokenFilterFactory(Index index, @IndexSettings Settings inde
92 92 @Override
93 93 public TokenStream create(TokenStream tokenStream) {
94 94 return new WordDelimiterFilter(tokenStream,
95   - WordDelimiterIterator.DEFAULT_WORD_DELIM_TABLE,
  95 + charTypeTable,
96 96 generateWordParts ? 1 : 0,
97 97 generateNumberParts ? 1 : 0,
98 98 catenateWords ? 1 : 0,

0 comments on commit 3925c0b

Please sign in to comment.
Something went wrong with that request. Please try again.