mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Use set indexer options instead of create a default one
This commit is contained in:
parent
c0f9c891f5
commit
08138c7c23
3 changed files with 15 additions and 6 deletions
|
@ -110,7 +110,8 @@ impl IndexController {
|
|||
std::fs::create_dir_all(&path)?;
|
||||
|
||||
let uuid_resolver = uuid_resolver::UuidResolverHandleImpl::new(&path)?;
|
||||
let index_handle = index_actor::IndexActorHandleImpl::new(&path, index_size)?;
|
||||
let index_handle =
|
||||
index_actor::IndexActorHandleImpl::new(&path, index_size, &options.indexer_options)?;
|
||||
let update_handle = update_actor::UpdateActorHandleImpl::new(
|
||||
index_handle.clone(),
|
||||
&path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue