mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Replace the legacy Settings::execute by the new one
This commit is contained in:
parent
3aa6c3c750
commit
82fe80b360
14 changed files with 137 additions and 41 deletions
|
@ -135,7 +135,7 @@ impl TempIndex {
|
|||
) -> Result<(), crate::error::Error> {
|
||||
let mut builder = update::Settings::new(wtxn, &self.inner, &self.indexer_config);
|
||||
update(&mut builder);
|
||||
builder.execute(drop, || false, Default::default())?;
|
||||
builder.execute(&|| false, &Progress::default())?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue