com.github.tlrx.elasticsearch.test.annotations.ElasticsearchAnalyzer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-test Show documentation
Show all versions of elasticsearch-test Show documentation
elasticsearch-test, a framework that makes ElasticSearch unit testing a breeze
/**
*
*/
package com.github.tlrx.elasticsearch.test.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* ElasticsearchAnalyzer annotation, used to define an analyzer in the analysis settings of an index
*
* @author tlrx
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface ElasticsearchAnalyzer {
/**
* The name of the analyzer
*/
String name();
/**
* The name of the tokenizer
*/
String tokenizer();
/**
* Filters names
*/
String[] filtersNames() default {};
}