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

com.wu.framework.easy.temple.domain.ElasticsearchUser Maven / Gradle / Ivy

There is a newer version: 1.1.9-JDK1.8
Show newest version
//package com.wu.framework.easy.temple.domain;
//
//import lombok.Data;
//import lombok.NoArgsConstructor;
//import org.springframework.data.annotation.Id;
//import org.springframework.data.elasticsearch.annotations.Document;
//import org.springframework.data.elasticsearch.annotations.Field;
//import org.springframework.data.elasticsearch.annotations.FieldType;
//
///**
// * @author : Jia wei Wu
// * @version 1.0
// * describe :
// * @date : 2020/11/25 下午9:12
// */
//@Data
//@NoArgsConstructor
//@Document(indexName = "elasticsearch-user")
//public class ElasticsearchUser {
//    @Id
//    private int id;
//    @Field(columnType = FieldType.Text, analyzer = "ik_max_word")
//    private String name;
//    @Field(columnType = FieldType.Text, analyzer = "ik_max_word")
//    private String tags;
//
//    public ElasticsearchUser(int id, String name, String tags) {
//        this.id = id;
//        this.name = name;
//        this.tags = tags;
//    }
//}
//




© 2015 - 2024 Weber Informatics LLC | Privacy Policy