Skip to content
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

Merge remote-tracking branch 'origin/7.6.x-couchbase' #2148

Merged
merged 4 commits into from
Feb 24, 2025
Merged

Conversation

abhinavdangeti
Copy link
Member

|
| * a20efc1 Aditi Ahuja | MB-64883 - Avoid redundant computation of eligible IDs (#2143)`

abhinavdangeti and others added 4 commits December 17, 2024 14:21
go-faiss:
* 2127bb0 Likith B | MB-64513: Removing modification of max codes based
on filtered document size
1. Changed weight of a kNN query to 1 to allow the boost value to kick
in when computing query score.
Since the weight of only the kNN scorer is changed, this will not impact
how boosting is calculated for other types of queries.

To reduce the kNN score relative to the FTS query score, set boost to
<1.

2. Added a unit test which demonstrates boost increasing scores even for
pure kNN queries(kNN + match none query).
Currently, filter eligible hits, which aren't specific to a segment, are
computed redundantly for each segment.

This PR pre-computes the eligible segment IDs and re-uses these for each
segment.
|\
| * a20efc1 Aditi Ahuja | MB-64883 - Avoid redundant computation of eligible IDs  (#2143)
@abhinavdangeti abhinavdangeti added this to the v2.5.0 milestone Feb 24, 2025
@abhinavdangeti abhinavdangeti merged commit 5bb86d4 into master Feb 24, 2025
9 checks passed
@abhinavdangeti abhinavdangeti deleted the merge76x branch February 24, 2025 17:25
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