mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 10:07:40 +08:00
WIP vector extraction
This commit is contained in:
parent
9fe5122176
commit
89243f7df0
@ -2,6 +2,7 @@ mod cache;
|
|||||||
mod faceted;
|
mod faceted;
|
||||||
mod lru;
|
mod lru;
|
||||||
mod searchable;
|
mod searchable;
|
||||||
|
mod vectors;
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
@ -213,6 +213,19 @@ where
|
|||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
'vectors: {
|
||||||
|
let span = tracing::trace_span!(target: "indexing::documents::extract", "vectors");
|
||||||
|
let _entered = span.enter();
|
||||||
|
|
||||||
|
let index_embeddings = index.embedding_configs(&rtxn)?;
|
||||||
|
if index_embeddings.is_empty() {
|
||||||
|
break 'vectors;
|
||||||
|
}
|
||||||
|
for index_embedding in index_embeddings {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
let span = tracing::trace_span!(target: "indexing::documents::extract", "FINISH");
|
let span = tracing::trace_span!(target: "indexing::documents::extract", "FINISH");
|
||||||
let _entered = span.enter();
|
let _entered = span.enter();
|
||||||
|
Loading…
Reference in New Issue
Block a user