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

org.codelibs.elasticsearch.analyze.AnalyzeApiPlugin Maven / Gradle / Ivy

The newest version!
package org.codelibs.elasticsearch.analyze;

import org.codelibs.elasticsearch.analyze.rest.RestAnalyzeApiAction;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.rest.RestModule;

public class AnalyzeApiPlugin extends Plugin {
    @Override
    public String name() {
        return "analyze-api";
    }

    @Override
    public String description() {
        return "This plugin provides a feature to analyze texts.";
    }

    // for Rest API
    public void onModule(final RestModule module) {
        module.addRestAction(RestAnalyzeApiAction.class);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy