querqy.lucene.contrib.rewrite.wordbreak.LuceneCompounder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of querqy-lucene Show documentation
Show all versions of querqy-lucene Show documentation
Querqy library for query rewriting for Lucene
The newest version!
package querqy.lucene.contrib.rewrite.wordbreak;
import org.apache.lucene.index.IndexReader;
import querqy.model.Term;
import java.io.IOException;
import java.util.List;
public interface LuceneCompounder {
List combine(Term[] terms, final IndexReader indexReader, boolean reverse) throws IOException;
class CompoundTerm {
public final CharSequence value;
public final Term[] originalTerms;
public CompoundTerm(final CharSequence value, final Term[] originalTerms) {
this.value = value;
this.originalTerms = originalTerms;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy