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

com.es.plus.adapter.properties.EsIndexParam Maven / Gradle / Ivy

There is a newer version: 0.3.3
Show newest version
package com.es.plus.adapter.properties;


import com.es.plus.adapter.params.EsSettings;
import lombok.Data;

import java.util.Map;

@Data
public class EsIndexParam {
    /**
     * 索引名 创建的索引后缀+S0或者S1 但这里存的默认和别名一样
     */
    private String index;

    /**
     * 索引别名  默认index就是索引别名
     */
    private String alias;
    /**
     * 类型
     */
    private String type;
    /**
     * 索引配置
     */
    private EsSettings esSettings;
    /**
     * 索引映射
     */
    private Map mappings;

    /**
     * 打分字段
     */
    private String scoreField ;
    /**
     * 子索引的类
     */
    private Class childClass;
    /**
     * 索引是否已经创建
     */
    private boolean exists = false;

    /**
     *  客户端实例
     */
    private  String clientInstance;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy