MeiliSearch/crates/milli/src/update
meili-bors[bot] 796acd1aee
Merge #5288
5288: Improve AI logging r=dureuill a=Kerollmops

This PR fixes #5285 and brings the changes from #5233 to simplify debugging indexation and search performance issues related to AI. The following texts can be found in the logs to debug and understand performance issues:

 - `embed_one: search` represents the time we spent waiting for the embedding generation, i.e., OpenAI, local HuggingFace, Ollama.
 - `filtered_universe: search::universe` the time spent filtering the documents.
 - ~`next_bucket: search::vector_sort` is the time spent finding the nearest neighbors (ANNs) in the vector store (arroy), locally~ was being triggered too many times.
 - `indexing::vectors` is the time arroy spends indexing the new vectors for a batch.
 - `documents::extract vectors` and `documents::merge vectors` to see the time spent generating and writing the embeddings.

Co-authored-by: Kerollmops <clement@meilisearch.com>
2025-02-04 10:20:45 +00:00
..
facet Merge #5220 2025-01-13 10:54:36 +00:00
index_documents Add currently failing test 2025-01-14 10:23:15 +01:00
new Merge #5288 2025-02-04 10:20:45 +00:00
upgrade write the version of the index while upgrading it 2025-01-23 16:51:24 +01:00
available_documents_ids.rs Merge branch 'main' into indexer-edition-2024 2024-11-06 15:19:18 +01:00
available_ids.rs Merge branch 'main' into indexer-edition-2024 2024-11-06 15:19:18 +01:00
clear_documents.rs Replace hardcoded string with constants 2024-12-28 20:35:55 +08:00
concurrent_available_ids.rs Merge branch 'main' into indexer-edition-2024 2024-11-06 15:19:18 +01:00
del_add.rs Merge branch 'main' into indexer-edition-2024 2024-11-06 15:19:18 +01:00
indexer_config.rs Plug the grenad max memory parameter 2024-11-18 11:28:04 +01:00
mod.rs Add the new tasks with most of the job done 2025-01-23 16:48:32 +01:00
settings.rs Replace hardcoded string with constants 2024-12-28 20:35:55 +08:00
update_step.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
word_prefix_docids.rs Merge branch 'main' into indexer-edition-2024 2024-11-06 15:19:18 +01:00
words_prefix_integer_docids.rs Merge branch 'main' into indexer-edition-2024 2024-11-06 15:19:18 +01:00
words_prefixes_fst.rs Test and implement settings opt-out 2024-11-25 18:23:22 +01:00