Use set indexer options instead of create a default one

This commit is contained in:
many 2021-09-08 10:44:23 +02:00
parent c0f9c891f5
commit 08138c7c23
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
3 changed files with 15 additions and 6 deletions

View file

@ -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,