mirror of
https://gitee.com/dromara/easy-es.git
synced 2025-12-08 01:59:18 +08:00
v2.1.0
This commit is contained in:
parent
46ecd1f4ff
commit
f1fcfeb17a
@ -38,7 +38,7 @@ public class Document {
|
|||||||
/**
|
/**
|
||||||
* 作者 加@TableField注解,并指明strategy = FieldStrategy.NOT_EMPTY 表示更新的时候的策略为 创建者不为空字符串时才更新
|
* 作者 加@TableField注解,并指明strategy = FieldStrategy.NOT_EMPTY 表示更新的时候的策略为 创建者不为空字符串时才更新
|
||||||
*/
|
*/
|
||||||
@IndexField(strategy = FieldStrategy.NOT_EMPTY)
|
@IndexField(strategy = FieldStrategy.NOT_EMPTY, copyTo = "copyToField")
|
||||||
private String creator;
|
private String creator;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
@ -66,6 +66,11 @@ public class Document {
|
|||||||
@IndexField(value = "wu-la", fieldType = FieldType.TEXT, analyzer = Analyzer.IK_SMART, searchAnalyzer = Analyzer.IK_SMART, fieldData = true)
|
@IndexField(value = "wu-la", fieldType = FieldType.TEXT, analyzer = Analyzer.IK_SMART, searchAnalyzer = Analyzer.IK_SMART, fieldData = true)
|
||||||
private String customField;
|
private String customField;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 演示copy_to复制字段
|
||||||
|
*/
|
||||||
|
private String copyToField;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 高亮返回值被映射的字段
|
* 高亮返回值被映射的字段
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user