I can index documents without meilisearch

This commit is contained in:
Irevoire
2022-09-21 12:01:46 +02:00
committed by Clément Renault
parent edd8344dc9
commit 8770e07397
13 changed files with 357 additions and 222 deletions

View File

@ -54,6 +54,7 @@ impl IndexMapper {
Ok(index) => index,
Err(Error::IndexNotFound(_)) => {
let uuid = Uuid::new_v4();
self.index_mapping.put(wtxn, name, &uuid)?;
Index::open(
self.base_path.join(uuid.to_string()),
name.to_string(),