mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
I can index documents without meilisearch
This commit is contained in:
parent
7bbd75e1fb
commit
16eab7b337
13 changed files with 357 additions and 222 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue