org.elasticsearch.plugin.query.acrossvariants.AcrossVariantsIndexQueryParserModule 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.AbstractModule;
import org.elasticsearch.index.query.RegisterAcrossVariantsQueryParsers;
public class AcrossVariantsIndexQueryParserModule extends AbstractModule {
@Override
protected void configure() {
bind(RegisterAcrossVariantsQueryParsers.class).asEagerSingleton();
}
}