Browse Source

fix: Fix the error in the "search_after" retrieval.

pull/1551/head
colin 1 month ago
parent
commit
eb5cbd399c
  1. 2
      aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs

2
aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs

@ -519,7 +519,7 @@ public class ElasticsearchAuditLogManager : IAuditLogManager, ITransientDependen
})) }))
.SourceIncludes(x => x.Id) .SourceIncludes(x => x.Id)
.SearchAfter(firstHit.Sort.ToList()) .SearchAfter(firstHit.Sort.ToList())
.Size(1), .Size(remaining),
cancellationToken); cancellationToken);
if (!secondResponse.IsSuccess() || secondResponse.Hits == null || !secondResponse.Hits.Any()) if (!secondResponse.IsSuccess() || secondResponse.Hits == null || !secondResponse.Hits.Any())

Loading…
Cancel
Save