mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-14 04:36:52 +08:00
fix: align shared search result total (#18200)
This commit is contained in:
@@ -462,6 +462,7 @@ async def retrieval_test_embedded(tenant_id=None):
|
||||
enrich_chunks_with_document_metadata(ranks["chunks"], metadata_fields)
|
||||
|
||||
ranks["labels"] = labels
|
||||
ranks["total"] = len(ranks["chunks"])
|
||||
|
||||
return get_json_result(data=ranks)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user