Package org.apache.lucene.analysis.compound

Examples of org.apache.lucene.analysis.compound.Lucene43DictionaryCompoundWordTokenFilter


    public TokenStream create(TokenStream tokenStream) {
        if (version.onOrAfter(Version.LUCENE_4_4_0)) {
            return new DictionaryCompoundWordTokenFilter(tokenStream, wordList, minWordSize,
                                                         minSubwordSize, maxSubwordSize, onlyLongestMatch);
        } else {
            return new Lucene43DictionaryCompoundWordTokenFilter(tokenStream, wordList, minWordSize,
                                                                 minSubwordSize, maxSubwordSize, onlyLongestMatch);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.lucene.analysis.compound.Lucene43DictionaryCompoundWordTokenFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.