mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Refactor vector indexing
- use the parsed_vectors module - only parse `_vectors` once per document, instead of once per embedder per document
This commit is contained in:
@ -148,6 +148,10 @@ impl EmbeddingConfigs {
|
||||
self.get(self.get_default_embedder_name())
|
||||
}
|
||||
|
||||
pub fn inner_as_ref(&self) -> &HashMap<String, (Arc<Embedder>, Arc<Prompt>)> {
|
||||
&self.0
|
||||
}
|
||||
|
||||
/// Get the name of the default embedder configuration.
|
||||
///
|
||||
/// The default embedder is determined as follows:
|
||||
|
Reference in New Issue
Block a user