Skip to main content

do_search

Function do_search 

Source
pub async fn do_search(
    ctx: &CoreCtx,
    user_id: u64,
    params: &SearchParams,
    interp: Option<&str>,
) -> Result<PlatformMessage>
Expand description

search core. user_id is the platform user id (used for the pagination session pointer + search log). interp is an optional “interpreted as” header shown to the user (free-form mentions set it; /search leaves None).