mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
Apply suggestions from code review
This commit is contained in:
parent
6c98752922
commit
4f955e68b3
@ -89,7 +89,7 @@ impl IndexMapper {
|
||||
let index = self.create_or_open_index(&index_path)?;
|
||||
|
||||
wtxn.commit()?;
|
||||
// TODO: it would be better to lazyly create the index. But we need an Index::open function for milli.
|
||||
// TODO: it would be better to lazily create the index. But we need an Index::open function for milli.
|
||||
if let Some(BeingDeleted) =
|
||||
self.index_map.write().unwrap().insert(uuid, Available(index.clone()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user