Function kvarn_search::mount_search

source ·
pub async fn mount_search(
    extensions: &mut Extensions,
    path: impl AsRef<str>,
    options: Options
) -> SearchEngineHandle
Expand description

path: the path to use for the search API. Use something which starts with /./ if you don’t want it to be public.