diff --git a/common/persistence/visibility/store/elasticsearch/client/client_v7.go b/common/persistence/visibility/store/elasticsearch/client/client_v7.go index e18a6d6411f..be3e642ceed 100644 --- a/common/persistence/visibility/store/elasticsearch/client/client_v7.go +++ b/common/persistence/visibility/store/elasticsearch/client/client_v7.go @@ -193,7 +193,6 @@ func (c *clientImpl) OpenScroll( Index(p.Index). Query(p.Query). SortBy(p.Sorter...). - TrackTotalHits(false). KeepAlive(keepAliveInterval) if p.PageSize != 0 { scrollService.Size(p.PageSize)