mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Rename index_name to index_uids
This commit is contained in:
parent
39e2b73718
commit
e97e13ce9f
4 changed files with 47 additions and 4 deletions
|
@ -251,7 +251,7 @@ impl Database {
|
|||
self.env.copy_to_path(path, CompactionOption::Enabled)
|
||||
}
|
||||
|
||||
pub fn indexes_names(&self) -> MResult<Vec<String>> {
|
||||
pub fn indexes_uids(&self) -> MResult<Vec<String>> {
|
||||
let indexes = self.indexes.read().unwrap();
|
||||
Ok(indexes.keys().cloned().collect())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue