-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Simplified linear and RRF retrievers #128633
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
Closed
Mikep86
wants to merge
51
commits into
elastic:main
from
Mikep86:simplified-linear-and-rrf-retrievers
Closed
Changes from 49 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
a10e92d
Add simplified inner retriever parser
Mikep86 07e368f
Integrate simplified handling into RRF
Mikep86 3fc2567
Refactoring
Mikep86 822edac
Added doRewrite method
Mikep86 4b06636
Add fields and query instance vars
Mikep86 2212167
RRF retriever parsing updates
Mikep86 4059894
Added custom rewrite logic for RRF retriever
Mikep86 1c8dab3
Remove unused method
Mikep86 a217e52
Use a most_fields multi-match query
Mikep86 11d1445
Added TODO
Mikep86 7d3e78e
Added support for wildcards
Mikep86 c6bf013
Handle when only query is supplied by the user
Mikep86 510fe54
Added fields, query, and normalizer params to linear retriever
Mikep86 187758f
Added custom rewrite logic for linear retriever
Mikep86 51a3dbe
Updated doRewrite method to return rewritten retriever
Mikep86 e33cebf
Fix NPE
Mikep86 a777601
Temporary fix for minmax bug
Mikep86 34250dc
Validation improvements
Mikep86 551e7f5
Update docs/changelog/128633.yaml
Mikep86 7267b59
Fix changelog
Mikep86 22594a5
Merge branch 'main' into simplified-linear-and-rrf-retrievers
Mikep86 397a1b8
Updated RRFRetrieverBuilderParsingTests
Mikep86 1703f1f
_almost_ working version of rewrite tests
Mikep86 e7b5476
[CI] Auto commit changes from spotless
d43ac88
Fixed rewrite tests
Mikep86 55f8f6a
Merge branch 'main' into simplified-linear-and-rrf-retrievers
Mikep86 e8715b2
Add wildcards to rewrite test
Mikep86 a014e02
Updated LinearRetrieverBuilderParsingTests
Mikep86 0050ad5
Clean up RRFRetrieverBuilder constructors
Mikep86 6b4c04b
Added equals and hash code implementations to LinearRetrieverBuilder
Mikep86 1ce5a9a
Added linear retriever rewrite tests
Mikep86 2915332
Fix inappropriate reference to RRFRankPlugin.NAME
Mikep86 dc54673
Resolve TODO
Mikep86 e5db2e4
Merge branch 'main' into simplified-linear-and-rrf-retrievers
Mikep86 7adb091
Added linear retriever YAML tests
Mikep86 0655c1c
Adjust test
Mikep86 54b67c2
Fix inference API calls in YAML tests
Mikep86 c9f7a84
Update comment
Mikep86 e3f7a54
Linear boosting test development
Mikep86 1240aa1
Formatting
Mikep86 1cd8797
Check linear retriever rank window size propagation
Mikep86 f8923c3
Check RRF retriever rank window size and rank constant propagation
Mikep86 2dc0b44
Improve edge case handling:
Mikep86 6d8eb0b
Added more linear YAML tests
Mikep86 ffe7374
Added raw vector field query test
Mikep86 966b641
Add more linear retriever YAML tests
Mikep86 a84eac4
Added remote index search test for linear retriever
Mikep86 5632821
Added remote index search test for rrf retriever
Mikep86 f906d41
Added field boost combination test
Mikep86 42c10c6
Merge branch 'main' into simplified-linear-and-rrf-retrievers
Mikep86 7c2dc4d
Added semantic text multi-match query test
Mikep86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 128633 | ||
| summary: Simplified linear and RRF retrievers | ||
| area: Search | ||
| type: enhancement | ||
| issues: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.