update cellulite to the latest version

This commit is contained in:
Tamo
2025-09-17 10:46:27 +02:00
parent 3dac2cf73e
commit fec10bb2d6
13 changed files with 34 additions and 37 deletions

View File

@@ -230,6 +230,7 @@ pub fn request_threads() -> &'static ThreadPoolNoAbort {
/// Extract chunked data and send it into lmdb_writer_sx sender:
/// - documents
#[allow(clippy::too_many_arguments)]
fn send_original_documents_data(
original_documents_chunk: Result<grenad::Reader<BufReader<File>>>,
indexer: GrenadParameters,

View File

@@ -523,7 +523,7 @@ where
.is_some_and(|conf| conf.is_quantized);
let is_quantizing = embedder_config.is_some_and(|action| action.is_being_quantized);
pool.install(|| {
pool.install(|| -> Result<_> {
let mut writer =
VectorStore::new(backend, vector_store, embedder_index, was_quantized);
writer.build_and_quantize(
@@ -541,7 +541,7 @@ where
.map_err(InternalError::from)??;
}
self.index.cellulite.build(self.wtxn, &Progress::default())?;
self.index.cellulite.build(self.wtxn, &self.should_abort, &Progress::default())?;
self.execute_prefix_databases(
word_docids.map(MergerBuilder::build),