Skip to main content

search_core

Function search_core 

Source
pub fn search_core(
    entries: Vec<DirectoryEntry>,
    categories: Vec<DirectoryCategory>,
    query: &str,
    selected: &BTreeMap<String, Vec<String>>,
) -> DirectorySearchResult
Expand description

Pure search core: rank entries by a concept-expanded query and narrow by selected facets, returning the entries plus drill-down facet counts. Kept pure (no filesystem) for deterministic testing.