This commit is contained in:
Leufolium 2024-06-14 08:25:23 +08:00
parent 8d85fcca10
commit 7f7005a762
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (es *ElasticSearch) GetStreamerAcctList(ctx context.Context) (list []*dbstr
list = make([]*dbstruct.EsStreamerAcct, 0)
res, err := es.clientMix.Search(es.getIndexStreamerAcct()).Query(query).Do(ctx)
res, err := es.clientMix.Search(es.getIndexStreamerAcct()).Query(query).From(0).Size(1000).Do(ctx)
if err != nil {
fmt.Printf("Search %v fail, err: %v", IndexStreamerAcct, err)
return