org.elasticsearch.plugin.query.acrossvariants.QueryAcrossVariantsPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-query-acrossvariants Show documentation
Show all versions of elasticsearch-query-acrossvariants Show documentation
The AcrossField query plugin for ElasticSearch provides
with a new query type that matching terms across multiple fields,
instead of needing them to all match against any, but single, field.
package org.elasticsearch.plugin.query.acrossvariants;
import org.elasticsearch.common.inject.Module;
import org.elasticsearch.plugins.AbstractPlugin;
import java.util.Collection;
import static org.elasticsearch.common.collect.Lists.newArrayList;
public class QueryAcrossVariantsPlugin extends AbstractPlugin {
@Override
public String name() {
return "query-acrossvariants";
}
@Override
public String description() {
return "Decompounding-variants aware, across fields, conjunctive query capabilities";
}
@Override
public Collection> indexModules() {
Collection> modules = newArrayList();
modules.add(AcrossVariantsIndexQueryParserModule.class);
return modules;
}
}