Add action user can take to error message

This commit is contained in:
Kitaiti Makoto 2020-07-19 07:16:34 +09:00
parent 484659fde2
commit 5cca66b346

View File

@ -123,7 +123,7 @@ Then try to restart Plume.
}, },
) )
}) })
.expect("main: error on recreating search index in new index format"); .expect("main: error on recreating search index in new index format. remove search index and run `plm search init` manually");
open_searcher = UnmanagedSearcher::open(&CONFIG.search_index, &CONFIG.search_tokenizers); open_searcher = UnmanagedSearcher::open(&CONFIG.search_index, &CONFIG.search_tokenizers);
} }
#[allow(clippy::match_wild_err_arm)] #[allow(clippy::match_wild_err_arm)]