-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Conditionally use sequential stored field reader in LuceneSyntheticSourceChangesSnapshot #121636
Merged
martijnvg
merged 12 commits into
elastic:main
from
martijnvg:LuceneSyntheticSourceChangesSnapshot_sequential_stored_reader
Feb 10, 2025
+24
−2
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6eb67b2
Use sequential reader in LuceneSyntheticSourceChangesSnapshot
martijnvg 41d4e68
iter
martijnvg 8e9436c
added comment
martijnvg 99623e7
Merge remote-tracking branch 'es/main' into LuceneSyntheticSourceChan…
martijnvg 161a429
Merge remote-tracking branch 'es/main' into LuceneSyntheticSourceChan…
martijnvg 1d0a210
pass down docids in order to determine whether to load sequential
martijnvg c6cc1e7
iter
martijnvg 78f0b7e
iter2
martijnvg 0f8dca1
Merge remote-tracking branch 'es/main' into LuceneSyntheticSourceChan…
martijnvg 9a7a3e7
iter3
martijnvg 447de83
Merge remote-tracking branch 'es/main' into LuceneSyntheticSourceChan…
martijnvg 31b81c0
added comment
martijnvg 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 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
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.
Maybe we should use always force a sequential reader. I think no matter the stored field format, it has benefits given how
LuceneSyntheticSourceChangesSnapshot
access stored fields.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.
I am not entirely sure. Does this not depend upon how jumpy the data is, which with index sorting could be very jumpy - and whether there is more than one stored field per doc (not sure that is always true?)?
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.
Right, this is why then changed to logic not look at index.codec setting anymore.