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

org.elasticsearch.plugin.query.acrossvariants.QueryAcrossVariantsPlugin Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.5.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy