Skip to content

Fix: Move pagerank field from create to update dataset API - #8217

Merged
KevinHuSh merged 1 commit into
infiniflow:mainfrom
asiroliu:fix/move_pagerank_field
Jun 12, 2025
Merged

KevinHuSh merged 1 commit into
infiniflow:mainfrom
asiroliu:fix/move_pagerank_field

Conversation

@asiroliu

Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

  • Remove pagerank from CreateDatasetReq and add to UpdateDatasetReq
  • Add pagerank update logic in dataset update endpoint
  • Update API documentation to reflect changes
  • Modify related test cases and SDK references

#8208

This change makes pagerank a mutable property that can only be set after dataset creation, and only when using elasticsearch as the doc engine.

Type of change

  • Bug Fix (non-breaking change which fixes an issue)

- Remove pagerank from CreateDatasetReq and add to UpdateDatasetReq
- Add pagerank update logic in dataset update endpoint
- Update API documentation to reflect changes
- Modify related test cases and SDK references

This change makes pagerank a mutable property that can only be set after dataset creation, and only when using elasticsearch as the doc engine.
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. 📖 documentation Improvements or additions to documentation 🧪 test Pull requests that update test cases. labels Jun 12, 2025
@asiroliu asiroliu added the ci Continue Integration label Jun 12, 2025
@KevinHuSh
KevinHuSh merged commit 7fbbc96 into infiniflow:main Jun 12, 2025
@asiroliu
asiroliu deleted the fix/move_pagerank_field branch June 12, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration 📖 documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files. 🧪 test Pull requests that update test cases.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants