The "reranking_enable" field is preventing the re-ranking model from being enabled for the multi-knowledge base search. #18036

Closed
opened 2026-02-21 19:42:48 -05:00 by yindo · 0 comments
Owner

Originally created by @oDoubleyz on GitHub (Sep 23, 2025).

Originally assigned to: @WTW0313 on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I have configured the retrieval of multiple knowledge bases and set up the use of a re-ranking model at the end. However, I noticed that even though I enabled the re-ranking model, the field reranking_enable was set to false by the frontend, which prevented the re-ranking model from being used for secondary sorting.

Image Image

✔️ Expected Behavior

Can use the re-ranking model correctly.

Actual Behavior

No response

Originally created by @oDoubleyz on GitHub (Sep 23, 2025). Originally assigned to: @WTW0313 on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.8.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I have configured the retrieval of multiple knowledge bases and set up the use of a re-ranking model at the end. However, I noticed that even though I enabled the re-ranking model, the field `reranking_enable` was set to false by the frontend, which prevented the re-ranking model from being used for secondary sorting. <img width="1586" height="764" alt="Image" src="https://github.com/user-attachments/assets/a6f5cee5-78d7-4f5e-9849-81f1844bc081" /> <img width="1205" height="662" alt="Image" src="https://github.com/user-attachments/assets/1e343e0a-d3ec-4841-abbf-0c03a7af6c41" /> ### ✔️ Expected Behavior Can use the re-ranking model correctly. ### ❌ Actual Behavior _No response_
yindo added the 👻 feat:rag label 2026-02-21 19:42:48 -05:00
yindo closed this issue 2026-02-21 19:42:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#18036