-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
Refactoring to prepare for the addition of dynamic fast field #1730
Conversation
fulmicoton
commented
Dec 21, 2022
- Exposing insert_key / insert_value
- Renamed SSTable::{Reader/Writer}-> SSTable::{ValueReader/ValueWriter}
- Added a generic Dictionary object in the sstable crate
- Removing the TermDictionary wrapper from tantivy, relying directly on an alias of the generic Dictionary object.
- dropped the use of byteorder in sstable.
- Stopped scanning / reading the entire dictionary when streaming a range.
- Exposing insert_key / insert_value - Renamed SSTable::{Reader/Writer}-> SSTable::{ValueReader/ValueWriter} - Added a generic Dictionary object in the sstable crate - Removing the TermDictionary wrapper from tantivy, relying directly on an alias of the generic Dictionary object. - dropped the use of byteorder in sstable. - Stopped scanning / reading the entire dictionary when streaming a range.
463eee0
to
e19240c
Compare
Codecov Report
@@ Coverage Diff @@
## main #1730 +/- ##
==========================================
- Coverage 94.13% 94.13% -0.01%
==========================================
Files 263 266 +3
Lines 50520 50723 +203
==========================================
+ Hits 47556 47746 +190
- Misses 2964 2977 +13
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
e19240c
to
4953e31
Compare
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.
a lot of rename improvements, nice
I left some minor comments
Rename deserialize_u64 -> deserialize_vint_u64
dd27378
to
262d5d2
Compare
262d5d2
to
7aa5d65
Compare
…it-oss#1730) * Refactoring to prepare for the addition of dynamic fast field - Exposing insert_key / insert_value - Renamed SSTable::{Reader/Writer}-> SSTable::{ValueReader/ValueWriter} - Added a generic Dictionary object in the sstable crate - Removing the TermDictionary wrapper from tantivy, relying directly on an alias of the generic Dictionary object. - dropped the use of byteorder in sstable. - Stopped scanning / reading the entire dictionary when streaming a range. * Added a benchmark for streaming sstable ranges. * CR comments. Rename deserialize_u64 -> deserialize_vint_u64 * Removed needless allocation, split serialize into serialize and clear.