mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-10 23:18:55 +01:00
fix broken comments
This commit is contained in:
parent
b8fd85a46d
commit
1113c42de0
@ -1289,7 +1289,7 @@ impl InnerIndexSettingsDiff {
|
|||||||
new_settings.embedding_configs.inner_as_ref()
|
new_settings.embedding_configs.inner_as_ref()
|
||||||
{
|
{
|
||||||
let was_quantized =
|
let was_quantized =
|
||||||
old_settings.embedding_configs.get(&embedder_name).map_or(false, |conf| conf.2);
|
old_settings.embedding_configs.get(embedder_name).map_or(false, |conf| conf.2);
|
||||||
// skip embedders that don't use document templates
|
// skip embedders that don't use document templates
|
||||||
if !config.uses_document_template() {
|
if !config.uses_document_template() {
|
||||||
continue;
|
continue;
|
||||||
@ -1307,9 +1307,9 @@ impl InnerIndexSettingsDiff {
|
|||||||
std::collections::btree_map::Entry::Occupied(entry) => {
|
std::collections::btree_map::Entry::Occupied(entry) => {
|
||||||
let EmbedderAction {
|
let EmbedderAction {
|
||||||
was_quantized: _,
|
was_quantized: _,
|
||||||
is_being_quantized: _, // We are deleting this embedder, so no point in regeneration
|
is_being_quantized: _,
|
||||||
write_back: _, // We are already fully reindexing
|
write_back: _, // We are deleting this embedder, so no point in regeneration
|
||||||
reindex: _, // We are already regenerating prompts
|
reindex: _, // We are already fully reindexing
|
||||||
} = entry.get();
|
} = entry.get();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user