Skip to content

Staging - #358

Merged
suguanYang merged 27 commits into
stagingfrom
main
Aug 31, 2026
Merged

Staging#358
suguanYang merged 27 commits into
stagingfrom
main

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread apps/api/alembic/versions/5b6c7d8e9f0a_add_term_trigram_indexes.py Fixed
Comment thread apps/api/alembic/versions/5b6c7d8e9f0a_add_term_trigram_indexes.py Fixed
Comment thread apps/api/alembic/versions/5b6c7d8e9f0a_add_term_trigram_indexes.py Fixed
EricNGOntos and others added 7 commits August 31, 2026 18:22
- Updated the backfill_map_unit_indexes script to include patching of the namespace map snapshot after persisting the revision serving state.
- Removed outdated contract tests related to BM25 FTS prefilter and unit tests for BM25 channel token preparation.
- Refactored retrieval logic to improve handling of document map units, including new fields for asset presence.
- Added new test cases for document publishing and scoring with additional image chunks.
- Refactored the lazy snapshot retrieval logic to improve score preservation without unnecessary payload reads.
- Updated the handling of incomplete index scenarios to ensure empty scores are returned when no data is available.
- Removed obsolete methods related to document unit loading to streamline the codebase.
- Introduced new fields `average_idf_path` and `average_idf_content` in the DocumentMapUnitIndex for improved scoring accuracy.
- Updated the retrieval logic to calculate average IDF values during document map unit processing.
- Refactored map unit discovery to utilize average IDF in scoring calculations, enhancing retrieval performance.
- Removed obsolete code related to previous scoring methods to streamline the implementation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
feat: unify BM25 scoring with persistent namespace MAP
Comment thread apps/api/alembic/versions/5b6c7d8e9f0a_add_term_trigram_indexes.py Fixed
Comment thread apps/api/alembic/versions/5b6c7d8e9f0a_add_term_trigram_indexes.py Fixed
@suguanYang
suguanYang merged commit 9315258 into staging Aug 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants