fix:修复多余的ES Version映射,

Version只用于获取而不是设置,同时也不会在_source中出现
This commit is contained in:
hardstylewyl 2025-06-23 10:54:57 +08:00
parent a9c610e79f
commit 447a0ce41a

View File

@ -1,3 +1,4 @@
using Nest;
using SJZY.Expand.ElasticSearch;
namespace SJZY.Track.Domain.SeedWork;
@ -9,6 +10,7 @@ namespace SJZY.Track.Domain.SeedWork;
/// </summary>
public class IdVersionIndex : IdBaseIndex
{
[Ignore]
public long Version { get; set; }
protected IdVersionIndex()