querqy.rewrite.commonrules.select.ConfigurationOrderSelectionStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of querqy-core Show documentation
Show all versions of querqy-core Show documentation
Querqy library for query rewriting: Querqy Core
package querqy.rewrite.commonrules.select;
import querqy.rewrite.commonrules.model.Instructions;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class ConfigurationOrderSelectionStrategy implements SelectionStrategy {
public static final List> COMPARATORS = Collections.singletonList(
Sorting.DEFAULT_COMPARATOR);
@Override
public FlatTopRewritingActionCollector createTopRewritingActionCollector() {
return new FlatTopRewritingActionCollector(COMPARATORS, -1, Collections.emptyList());
}
}