com.github.tlrx.elasticsearch.test.annotations.ElasticsearchMappingMultiField 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;
/**
* ElasticsearchMappingMultiField Annotation, used to define a multi_field in the mapping properties
*
* @author tlrx
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface ElasticsearchMappingMultiField {
/**
* The multi_field's name
*/
String name();
/**
* The fields of current the multi_field
*/
ElasticsearchMappingField[] fields();
}