auto-phrase-tokenfilter icon indicating copy to clipboard operation
auto-phrase-tokenfilter copied to clipboard

Include a META-INF/services folder

Open kutschkem opened this issue 9 years ago • 0 comments

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

kutschkem avatar Mar 31 '15 10:03 kutschkem