mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-18 18:56:25 +00:00
get_vector_store returns an option, handles it in Index::settings
This commit is contained in:
@ -485,7 +485,7 @@ where
|
||||
|
||||
// If an embedder wasn't used in the typedchunk but must be binary quantized
|
||||
// we should insert it in `dimension`
|
||||
let backend = self.index.get_vector_store(self.wtxn)?;
|
||||
let backend = self.index.get_vector_store(self.wtxn)?.unwrap_or_default();
|
||||
for (name, action) in settings_diff.embedding_config_updates.iter() {
|
||||
if action.is_being_quantized && !dimension.contains_key(name.as_str()) {
|
||||
let index = self.index.embedding_configs().embedder_id(self.wtxn, name)?.ok_or(
|
||||
|
Reference in New Issue
Block a user