Skip to content

Bric 8/concurrent index folder#10

Merged
Kaiohz merged 2 commits intomainfrom
BRIC-8/concurrent-index-folder
Apr 9, 2026
Merged

Bric 8/concurrent index folder#10
Kaiohz merged 2 commits intomainfrom
BRIC-8/concurrent-index-folder

Conversation

@Kaiohz
Copy link
Copy Markdown
Collaborator

@Kaiohz Kaiohz commented Apr 9, 2026

No description provided.

Kaiohz added 2 commits April 9, 2026 11:05
Replace sequential for-loop with asyncio.Semaphore + asyncio.gather,
bounded by MAX_CONCURRENT_FILES config. Dead code removed (103 lines).
6 new tests verify concurrency, edge cases, and mixed success/failure.
- Implemented PostgresBM25Adapter for BM25 ranking using pg_textsearch extension.
- Added methods for managing BM25 index, including creation, rebuilding, and dropping.
- Introduced RRFCombiner class to combine BM25 and vector search results using Reciprocal Rank Fusion algorithm.
- Defined HybridSearchResult data class to encapsulate combined search results.
@Kaiohz Kaiohz merged commit 4a7c0ed into main Apr 9, 2026
1 check 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.

1 participant