Cellulite is almost in the new indexer. We must add the documentID to the geojson pipeline

This commit is contained in:
Tamo
2025-07-15 23:48:14 +02:00
parent b00a1dcc00
commit a921ee31ce
6 changed files with 99 additions and 1 deletions

View File

@ -72,6 +72,10 @@ pub fn write_to_db(
let embedding = large_vector.read_embedding(*dimensions);
writer.add_item_in_store(wtxn, docid, extractor_id, embedding)?;
}
ReceiverAction::GeoJson(geojson) => {
let cellulite = cellulite::Writer::new(index.cellulite);
cellulite.add_item(wtxn, doc_id, &geojson)?;
}
}
// Every time the is a message in the channel we search