mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fetch chunk by batches. (#4177)
### What problem does this PR solve? #4173 ### Type of change - [x] Performance Improvement
This commit is contained in:
@ -196,7 +196,7 @@ class ESConnection(DocStoreConnection):
|
||||
s = s.sort(*orders)
|
||||
|
||||
if limit > 0:
|
||||
s = s[offset:limit]
|
||||
s = s[offset:offset+limit]
|
||||
q = s.to_dict()
|
||||
logger.debug(f"ESConnection.search {str(indexNames)} query: " + json.dumps(q))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user