From d49707858ddd3ba73ded357bdaf8044c8b4b9c40 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 30 六月 2025 20:41:17 +0800 Subject: [PATCH] 视频es --- framework/src/main/java/cn/lili/modules/lmk/domain/vo/SimpleVideoTagVO.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/domain/vo/SimpleVideoTagVO.java b/framework/src/main/java/cn/lili/modules/lmk/domain/vo/SimpleVideoTagVO.java index 87c6671..a613316 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/domain/vo/SimpleVideoTagVO.java +++ b/framework/src/main/java/cn/lili/modules/lmk/domain/vo/SimpleVideoTagVO.java @@ -6,6 +6,8 @@ import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.beans.BeanUtils; +import org.springframework.data.elasticsearch.annotations.Field; +import org.springframework.data.elasticsearch.annotations.FieldType; import org.springframework.lang.NonNull; /** @@ -19,13 +21,16 @@ public class SimpleVideoTagVO { @ApiModelProperty("鏍囩id") + @Field(type = FieldType.Keyword) private String id; /** 鏍囩鍚嶇О */ @ApiModelProperty("鏍囩鍚嶇О") + @Field(type = FieldType.Text, searchAnalyzer = "ik_max_word") private String tagName; @ApiModelProperty(hidden = true) + @Field(type = FieldType.Keyword) private String videoId; -- Gitblit v1.8.0