All Downloads are FREE. Search and download functionalities are using the official Maven repository.

querqy.rewrite.QueryRewriter Maven / Gradle / Ivy

There is a newer version: 3.18.1
Show newest version
/**
 * 
 */
package querqy.rewrite;

import java.util.Collections;
import java.util.Set;

import querqy.model.ExpandedQuery;
import querqy.model.Term;

/**
 * 

A query rewriter.

*

Query rewriter implementations shall guarantee to preserve the number of top-level query clauses of the * {@link ExpandedQuery#userQuery} when rewriting the query.

* * @author rene * */ public interface QueryRewriter { Set EMPTY_GENERABLE_TERMS = Collections.emptySet(); ExpandedQuery rewrite(ExpandedQuery query); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy