-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add support for sparse_vector queries against semantic_text fields #118617
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
Merged
kderusso
merged 25 commits into
elastic:main
from
kderusso:kderusso/sparse-vector-semantic-text-field
Dec 18, 2024
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
367b507
Add SemanticSparseVectorQueryRewriteInterceptor
kderusso 1d3151a
Add yaml
kderusso c427143
Refactor match rewriting & cleanup
kderusso fe9deab
Update docs/changelog/118617.yaml
kderusso c3bf3a8
Update changelog
kderusso 015cefc
Merge branch 'main' into kderusso/sparse-vector-semantic-text-field
kderusso 2857250
Silly error introduced in refactoring
kderusso 2181d86
Adding some yaml test cases for not specifying inference ID - these a…
kderusso 8c82d00
Refactor from static utils into abstract class and add support for us…
kderusso 78cafbb
Merge branch 'main' into kderusso/sparse-vector-semantic-text-field
kderusso 0bab375
Fix some test errors, and do some cleanup
kderusso f9cb789
Merge branch 'main' into kderusso/sparse-vector-semantic-text-field
kderusso 06be83d
Add some additional error validation to ensure BWC-compliant error me…
kderusso 7bc962b
PR feedback
kderusso d28cd8b
Don't throw on multiple inference IDs
kderusso 05c45e2
Cleanup
kderusso 3e5e09c
Merge branch 'main' into kderusso/sparse-vector-semantic-text-field
kderusso fe00f43
Remove doc order from yaml test (to future proof against shard count …
kderusso 46e03ff
Fix test
kderusso 8afdd04
PR feedback - cleanup
kderusso 9c25161
Add tests
kderusso db3c768
Revert error messages to be BWC compliant
kderusso 6768b3e
Merge branch 'main' into kderusso/sparse-vector-semantic-text-field
kderusso e97f8b0
Grumble grumble missed a test...
kderusso 187cf13
update yaml test
kderusso 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: 118617 | ||
summary: Add support for `sparse_vector` queries against `semantic_text` fields | ||
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including the field name and the (wrong) field type might help users diagnose the problem