mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-03 08:30:55 -05:00
* Extend Gridstore blob trait, support basic primitives and vector of them * Implement mutable numeric index on top of Gridstore * Wrap Gridstore in rwlock, flush asynchronously * Set custom Gridstore options tuned to numeric index * Fix compilation errors * Destruct RocksDB selector everywhere * Add Gridstore payload index selector, build numeric, fallback others * Add feature flag to Gridstore mutable payload index * Don't store empty values in gridstore, it's not supported * Reformat * Initialize Gridstore during init of index builder * Use owned and referenced paths correctly around Gridstore * Change Gridstore page size in numeric index as suggested * Make Gridstore block size dependent on size of numeric type * Add tests * Add separate fixed size blob trait for vec, prevent footgun * Improve page size calculation Co-authored-by: Luis Cossío <luis.cossio@qdrant.com> * Simplify Blob requirement for numeric payload index * Add missing test cases * Replace ref mut with &mut * Use correct hardware counter * Implement clear cache for numeric payload index on Gridstore * The block size is dynamic * Error if trying to load index from storage that doesn't match backend * fix counter * Add comment on why we change page size --------- Co-authored-by: Luis Cossío <luis.cossio@qdrant.com> Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>