mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-07 05:06:31 +00:00
fix the old indexer
This commit is contained in:
@ -163,6 +163,10 @@ where
|
||||
|
||||
indexing_context.progress.update_progress(IndexingStep::WritingEmbeddingsToDatabase);
|
||||
|
||||
|
||||
let cellulite = cellulite::Cellulite::new(index.cellulite);
|
||||
cellulite.build(wtxn, indexing_context.progress)?;
|
||||
|
||||
pool.install(|| {
|
||||
build_vectors(
|
||||
index,
|
||||
|
@ -73,8 +73,8 @@ pub fn write_to_db(
|
||||
writer.add_item_in_store(wtxn, docid, extractor_id, embedding)?;
|
||||
}
|
||||
ReceiverAction::GeoJson(docid, geojson) => {
|
||||
let cellulite = cellulite::Writer::new(index.cellulite);
|
||||
cellulite.add_item(wtxn, docid, &geojson).map_err(InternalError::CelluliteError)?;
|
||||
let cellulite = cellulite::Cellulite::new(index.cellulite);
|
||||
cellulite.add(wtxn, docid, &geojson).map_err(InternalError::CelluliteError)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user