mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Add a TODO about the index creation
This commit is contained in:
parent
373995dca9
commit
78e730ca37
1 changed files with 2 additions and 0 deletions
|
@ -388,6 +388,8 @@ impl IndexScheduler {
|
|||
| IndexOperation::Settings { ref index_uid, .. }
|
||||
| IndexOperation::DocumentClearAndSetting { ref index_uid, .. }
|
||||
| IndexOperation::SettingsAndDocumentImport { ref index_uid, .. } => {
|
||||
// TODO check if the user was allowed to create an index.
|
||||
|
||||
// create the index if it doesn't already exist
|
||||
let mut wtxn = self.env.write_txn()?;
|
||||
let index = self.index_mapper.create_index(&mut wtxn, index_uid)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue