mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-09 22:48:54 +01:00
Make the CI happy about the never type
This commit is contained in:
parent
8cb7001755
commit
af2b722fed
@ -897,6 +897,7 @@ impl IndexScheduler {
|
|||||||
dump_tasks.flush()?;
|
dump_tasks.flush()?;
|
||||||
|
|
||||||
// 3. Dump the indexes
|
// 3. Dump the indexes
|
||||||
|
let () =
|
||||||
self.index_mapper.try_for_each_index(&rtxn, |uid, index| -> Result<()> {
|
self.index_mapper.try_for_each_index(&rtxn, |uid, index| -> Result<()> {
|
||||||
let rtxn = index.read_txn()?;
|
let rtxn = index.read_txn()?;
|
||||||
let metadata = IndexMetadata {
|
let metadata = IndexMetadata {
|
||||||
@ -919,7 +920,8 @@ impl IndexScheduler {
|
|||||||
|
|
||||||
let (id, doc) = ret?;
|
let (id, doc) = ret?;
|
||||||
|
|
||||||
let mut document = milli::obkv_to_json(&all_fields, &fields_ids_map, doc)?;
|
let mut document =
|
||||||
|
milli::obkv_to_json(&all_fields, &fields_ids_map, doc)?;
|
||||||
|
|
||||||
'inject_vectors: {
|
'inject_vectors: {
|
||||||
let embeddings = index.embeddings(&rtxn, id)?;
|
let embeddings = index.embeddings(&rtxn, id)?;
|
||||||
@ -959,7 +961,9 @@ impl IndexScheduler {
|
|||||||
|
|
||||||
let embeddings = ExplicitVectors {
|
let embeddings = ExplicitVectors {
|
||||||
embeddings: Some(
|
embeddings: Some(
|
||||||
VectorOrArrayOfVectors::from_array_of_vectors(embeddings),
|
VectorOrArrayOfVectors::from_array_of_vectors(
|
||||||
|
embeddings,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
regenerate: !user_provided,
|
regenerate: !user_provided,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user