auto-phrase-tokenfilter
auto-phrase-tokenfilter copied to clipboard
Include a META-INF/services folder
Depends on #4 In Lucene 5.0.0, TokenFilterFactories can be discovered automatically if they are included in a file called org.apache.lucene.analysis.util.TokenFilterFactory in the directory META-INF/services For reference, see how it is done in the lucene-analyzers-common jar. Then, CustomAnalyzer.Builder can be used to easily build analysis pipelines including this component.
http://lucene.apache.org/core/5_0_0/analyzers-common/org/apache/lucene/analysis/custom/CustomAnalyzer.Builder.html