Unverified Commit 9dee9e7a authored by Jyong's avatar Jyong Committed by GitHub

fix rerank issue when doing economy search (#1978)

Co-authored-by: 's avatarjyong <jyong@dify.ai>
parent 33901384
......@@ -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,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment