-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Enable exclude_source_vectors by default for new indices
#131907
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
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
8b03ce9
Enable `exclude_source_vectors` by default for new indices
jimczi a8f12fe
Update docs/changelog/131907.yaml
jimczi b0f932f
Update docs
jimczi 9ababdd
Merge remote-tracking branch 'origin/exclude_vector_source' into excl…
jimczi a3d9dad
fix more tests
jimczi 93d3ab3
remove non-applicable skip test
jimczi 1af3c2c
remove non-applicable skip test (bis)
jimczi cd3cec2
skip tests
jimczi 91f0103
Merge remote-tracking branch 'upstream/main' into exclude_vector_source
jimczi 87c5d57
add capabilities
jimczi 96e2d27
Fix the translog operation asserter to check for map equivalence rath…
jimczi bccdc3e
Merge remote-tracking branch 'upstream/main' into exclude_vector_source
jimczi 12019cd
naming
jimczi ff7bc4d
Update docs/changelog/131907.yaml
jimczi 7c3f34a
Update change log
jimczi 3c530d0
Merge branch 'main' into exclude_vector_source
jimczi 247f974
Update change log
jimczi 916ecfd
changelog
jimczi 8410849
Merge branch 'main' into exclude_vector_source
jimczi 95efb82
Merge remote-tracking branch 'upstream/main' into exclude_vector_source
jimczi e769341
Merge branch 'main' into exclude_vector_source
jimczi 69a2cf6
Merge branch 'main' into exclude_vector_source
jimczi 762e7be
apply review comment
jimczi e81cd4d
Merge remote-tracking branch 'upstream/main' into exclude_vector_source
jimczi 1828921
update docs
jimczi 09c5da9
Merge remote-tracking branch 'upstream/main' into exclude_vector_source
jimczi 861fa78
Merge remote-tracking branch 'upstream/main' into exclude_vector_source
jimczi 2729187
Merge branch 'main' into exclude_vector_source
jimczi 89c74bc
allow the new setting to be set in serverless
jimczi 8b040bb
Merge remote-tracking branch 'origin/exclude_vector_source' into excl…
jimczi e4e8da7
Merge branch 'main' into exclude_vector_source
jimczi f8f1d2c
fix empty sparse vector in test
jimczi 823c7e1
Merge branch 'main' into exclude_vector_source
jimczi 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,26 @@ | ||
| pr: 131907 | ||
| summary: Enable `exclude_source_vectors` by default for new indices | ||
| area: Vector Search | ||
| type: breaking | ||
| issues: [] | ||
| breaking: | ||
| title: Enable `exclude_source_vectors` by default for new indices | ||
| area: Search | ||
| details: |- | ||
| The `exclude_source_vectors` setting is now enabled by default for newly created indices. | ||
| This means that vector fields (e.g., `dense_vector`) are no longer stored in the `_source` field | ||
| by default, although they remain fully accessible through search and retrieval operations. | ||
|
|
||
| Instead of being persisted in `_source`, vectors are now rehydrated on demand from the underlying | ||
| index structures when needed. This reduces index size and improves performance for typical vector | ||
| search workloads where the original vector values do not need to be part of the `_source`. | ||
|
|
||
| If your use case requires vector fields to be stored in `_source`, you can disable this behavior by | ||
| setting `exclude_source_vectors: false` at index creation time. | ||
| impact: |- | ||
| Vector fields will no longer be stored in `_source` by default for new indices. Applications or tools | ||
| that expect to see vector fields in `_source` (for raw document inspection) | ||
| may need to be updated or configured to explicitly retain vectors using `exclude_source_vectors: false`. | ||
|
|
||
| Retrieval of vector fields via search or the `_source` API remains fully supported. | ||
| notable: true |
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.
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.