-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
Sort Index/Docids By Field #1026
Merged
Merged
Changes from 11 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
521075d
sort index by field
PSeitz 5643ee2
support docid mapping in multivalue fastfield
PSeitz 60bf3f8
handle docid map in bytes fastfield
PSeitz 8469223
forward docid mapping, remap postings
PSeitz 3cd436e
Merge remote-tracking branch 'upstream/main' into indexmeta
PSeitz 045dfee
fix merge conflicts
PSeitz e97bdc9
move test to index_sorter
PSeitz 62224fb
add docid index mapping old->new
PSeitz 1ec2e61
remap docid in fielnorm
PSeitz 8a7dc78
resort docids in recorder, more extensive tests
PSeitz 179e859
handle index sorting in docstore
PSeitz 855680b
refactor
PSeitz 77b1aa1
u32 to DocId
PSeitz a7766fb
better doc_id_map creation
PSeitz 18ef88c
add non mut method to FastFieldWriters
PSeitz d6775cd
remove sort_index
PSeitz 451479b
fix clippy issues
PSeitz 0ef02cd
fix SegmentComponent iterator
PSeitz 3d537bf
fix test
PSeitz b0b0129
fmt
PSeitz 0bbdd42
handle indexsettings deserialize
PSeitz b954fa6
add reading, writing bytes to doc store
PSeitz 8e9278d
rename index_sorter to doc_id_mapping
PSeitz aca8cb8
fix compile issue, make sort_by_field optional
PSeitz a34cd0e
fix test compile
PSeitz ba5a0e6
validate index settings on merge
PSeitz 20f10e0
fix doctest
PSeitz 69dab3d
add itertools, use kmerge
PSeitz 38c178f
implement/test merge for fastfield
PSeitz e7468e5
Use precalculated docid mapping in merger
PSeitz 9aab1b9
fix fast field reader docs
PSeitz f8a3022
add test for multifast field merge
PSeitz 4f77067
add num_bytes to BytesFastFieldReader
PSeitz 39bcf13
add MultiValueLength trait
PSeitz c576e88
Add ReaderWithOrdinal, fix
PSeitz 1b410d4
add test for merging bytes with sorted docids
PSeitz 32a3a91
Merge fieldnorm for sorted index
PSeitz 76f8de9
handle posting list in merge in sorted index
PSeitz b1c1c0d
handle doc store order in merge in sorted index
PSeitz eb0357c
fix typo, cleanup
PSeitz 3129885
make IndexSetting non-optional
PSeitz 00aab07
fix type, rename test file
PSeitz cd2711c
remove SegmentReaderWithOrdinal accessors
PSeitz 4816fc4
cargo fmt
PSeitz 5fc0ac4
add index sort & merge test to include deletes
PSeitz ade0ac0
Fix posting list merge issue
PSeitz b2a7fff
performance: cache field readers, use bytes for doc store merge
PSeitz aab65f0
change facet merge test to cover index sorting
PSeitz 25cb568
add RawDocument abstraction to access bytes in doc store
PSeitz ea65dc1
Merge remote-tracking branch 'upstream/main' into indexmeta
PSeitz b6a0f42
fix deserialization, update changelog
PSeitz 84da0be
cache store readers to utilize lru cache (4x performance)
PSeitz de0ea84
add include_temp_doc_store flag in InnerSegmentMeta
PSeitz 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
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
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
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
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
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
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
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
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.
this example is not possible currently and should be changed (or implemented)