Skip to main content

application_search_fields

Function application_search_fields 

pub fn application_search_fields<'a>(
    name: &'a str,
    package_id: &'a str,
    category: Option<&'a str>,
    other_names: impl IntoIterator<Item = &'a str>,
    keywords: impl IntoIterator<Item = &'a str>,
) -> Vec<(String, FieldWeight)>
Expand description

An app’s application_fields plus what else people call it: each of its keywords (aliases, synonyms, the products it stands in for, in every language its manifest gives), its names in other languages as the name itself, and the initials of its name (wp for Word Processor).