-
Couldn't load subscription status.
- Fork 1.5k
Add search index #4306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add search index #4306
Conversation
| #[arg(long, help = "Use search index at <SEARCH_INDEX>.")] | ||
| pub(crate) search_index: Option<PathBuf>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this doesn't even need to be configurable initially. We could just put it into the ord data dir.
| if search_indexer.join().is_err() { | ||
| log::warn!("Search index thread panicked; join failed"); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just good for debuggability:
| if search_indexer.join().is_err() { | |
| log::warn!("Search index thread panicked; join failed"); | |
| } | |
| if let Err(err) = search_indexer.join() { | |
| log::warn!("Search index thread panicked: {err}"); | |
| } |
No description provided.