Update rag/nlp/search.py
This commit is contained in:
parent
a3f871a144
commit
1bae1367a3
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ class Dealer:
|
|||
|
||||
res = []
|
||||
bs = 128
|
||||
for page_num, p in enumerate(range(offset, max_count, bs)):
|
||||
for p in range(offset, max_count, bs):
|
||||
es_res = self.dataStore.search(fields, [], condition, [], orderBy, page_num * bs, bs, index_name(tenant_id),
|
||||
kb_ids)
|
||||
dict_chunks = self.dataStore.get_fields(es_res, fields)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue