fix rerank issue when doing economy search (#1978)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2024-01-09 20:56:13 +08:00 committed by GitHub
parent 33901384c6
commit 9dee9e7ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,7 @@ class KeywordTableIndex(BaseIndex):
page_content=segment.content,
metadata={
"doc_id": chunk_index,
"doc_hash": segment.index_node_hash,
"document_id": segment.document_id,
"dataset_id": segment.dataset_id,
}