querqy.lucene.LuceneQueries 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;
import org.apache.lucene.search.Query;
import java.util.List;
import java.util.Objects;
public class LuceneQueries {
public final Query mainQuery;
public final List filterQueries;
public final Query userQuery;
public final List querqyBoostQueries;
public final Query rankQuery;
public final boolean areQueriesInterdependent;
public final boolean isMainQueryBoosted;
public LuceneQueries(final Query mainQuery, final List filterQueries, final List querqyBoostQueries,
final Query userQuery, final Query rankQuery, final boolean areQueriesInterdependent,
final boolean isMainQueryBoosted) {
this.mainQuery = Objects.requireNonNull(mainQuery);
this.filterQueries = filterQueries;
this.querqyBoostQueries = querqyBoostQueries;
this.userQuery = Objects.requireNonNull(userQuery);
this.rankQuery = rankQuery;
this.areQueriesInterdependent = areQueriesInterdependent;
this.isMainQueryBoosted = isMainQueryBoosted;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy