Skip to content

Commit

Permalink
fix rerank issue when doing economy search (#1978)
Browse files Browse the repository at this point in the history
Co-authored-by: jyong <[email protected]>
  • Loading branch information
JohnJyong and JohnJyong authored Jan 9, 2024
1 parent 3390138 commit 9dee9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/core/index/keyword_table_index/keyword_table_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def search(
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,
}
Expand Down

0 comments on commit 9dee9e7

Please sign in to comment.