mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Change the updated*
functions to only_new
functions, hopefully better communicating what they do
This commit is contained in:
parent
d7f35ee3ba
commit
b83275c9c5
2 changed files with 5 additions and 4 deletions
|
@ -99,7 +99,8 @@ impl<'a, 'b, 'extractor> Extractor<'extractor> for EmbeddingExtractor<'a, 'b> {
|
|||
context.db_fields_ids_map,
|
||||
&context.doc_alloc,
|
||||
)?;
|
||||
let new_vectors = update.updated_vectors(&context.doc_alloc, self.embedders)?;
|
||||
let new_vectors =
|
||||
update.only_changed_vectors(&context.doc_alloc, self.embedders)?;
|
||||
|
||||
if let Some(new_vectors) = &new_vectors {
|
||||
unused_vectors_distribution.append(new_vectors)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue