Skip to content

retrive more documents - needs more check - #64

Merged
denkv merged 3 commits into
feature/access-controlfrom
feature/access-control-retrive-moredocuments
Sep 8, 2026
Merged

retrive more documents - needs more check#64
denkv merged 3 commits into
feature/access-controlfrom
feature/access-control-retrive-moredocuments

Conversation

@farshad68

Copy link
Copy Markdown
Member

Just a point: I avoided using offsets because it breaks our scoring math. Since we merge multiple search branches (dense, sparse, subqueries) and run them through a final AI reranker (CrossEncoder/ColBERT), the reranker needs to evaluate all candidate documents at the exact same time to rank them accurately.

If we paginate with offsets, we feed the reranker fragmented chunks. It can't compare batch 2 against batch 1, which ruins the relative scoring

@farshad68
farshad68 requested a review from denkv September 7, 2026 10:04
@denkv
denkv merged commit a9bfeac into feature/access-control Sep 8, 2026
1 check passed
@farshad68
farshad68 deleted the feature/access-control-retrive-moredocuments branch September 8, 2026 14:01
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.

2 participants