mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-06 10:00:58 -05:00
* Clone current segment config to deprecated type * Remove segment level quantization config from segment config * Also deprecate current VectorDataConfig * Update old segment migration to work with new refactoring * Move index into vector data config * Move vector data config migration logic into segment level * Remove hnsw_config from vector data config * Rename collection params to vector data conversions function * Move storage type into vector data config * Set appendable flag correctly * Clean up and reformat * Make segment on disk flag not optional * Add appendable flag to segment config to replace storage type * Remove storage type from segment config * Deprecate storage type enum * Use consistent variable naming * Cleanup * Add segment config migration for v0.5.0 to current * Bump segment to 0.6.0 * Remove serde defaults for new storage and vector data config types These default value configurations are not needed anymore, because these structs are not used to deserialize old data. All current fields should always be available in these structs. When new fields are added in new functions, the serde default annotation must be set again. * Cleanup * Update OpenAPI specification This updates the returned data structure on telemetry endpoints, as a result of segment configuration refactoring. * Fix quantization configuration not falling back to collection config * Fix compiler warning when building in release mode * Move deprecated type structs into compat module * Update allow deprecated attributes * Assign quantization config only in segment optimizer * Remove unsued parameter * Add vector storage type enum to vector data config * Remove appendable and on_disk flags from segment and vector config * Update OpenAPI specification * add tests --------- Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>