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

com.github.tlrx.elasticsearch.test.annotations.ElasticsearchMappingMultiField Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
/**
 *
 */
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy