mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
update reviewer change
This commit is contained in:
parent
64e55b4db9
commit
4e1b6b514e
3 changed files with 19 additions and 18 deletions
|
@ -774,9 +774,8 @@ impl IndexScheduler {
|
|||
|
||||
/// Create a new index without any associated task.
|
||||
pub fn create_raw_index(&self, name: &str) -> Result<Index> {
|
||||
let mut wtxn = self.env.write_txn()?;
|
||||
let index = self.index_mapper.create_index(&mut wtxn, name)?;
|
||||
wtxn.commit()?;
|
||||
let wtxn = self.env.write_txn()?;
|
||||
let index = self.index_mapper.create_index(wtxn, name)?;
|
||||
|
||||
Ok(index)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue