@Document(indexName = "logmodel", type = "logs", shards = 4, replicas = 1,indexStoreType="fs", refreshInterval = "-1")
public class LogES {
@Id
private String id;
private String itcode;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String ip;
private String ad_type;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String telephone;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String mobile;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String email;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String firstname;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String firstnameen;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String boss;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String position;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String organization;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String country;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String cityname;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String givenname;
private String employeeNumber;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String employeetype;
private boolean ismanager;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String bossname;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String bigboss;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String bigbossname;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String enterprise;
@JsonFormat (shape = JsonFormat.Shape.STRING, pattern ="yyyy-MM-dd'T'hh:mm:ss.SSS'Z'")
private Date dt;
private String dev_platform;
private String app_version;
private String dev_version;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String dev_info;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String dev_imei;
@Field(type = FieldType.String,index = FieldIndex.not_analyzed)
private String func;
@Field( type = FieldType.Auto)
private Object content;
private CochatResponseEntity cochatResponseEntity;
比如怎么设置content对象内部字段的分词策略,如:@Field(type = FieldType.String,index = FieldIndex.not_analyzed)