-
Notifications
You must be signed in to change notification settings - Fork 98
feat: Add support for compacting database indexes. #1161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughA new Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Index
participant API
Client->>Index: compact()
Index->>API: POST /{index_uid}/compact
API-->>Index: TaskInfo (task queued)
Index-->>Client: TaskInfo
Note over API: Asynchronous compaction<br/>processing
API-->>Client: Task completed
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code graph analysis (2)tests/index/test_index.py (3)
meilisearch/index.py (2)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Strift
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @awais786 and thanks for your contribution 🙌
Add support for compacting database indexes
Summary by CodeRabbit
New Features
Documentation