reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

search_rust

reqlan rq/core_analysis/rust_port.rq:212

Katz 0.137

Port fuzzy_search ( separator-insensitive ranking ), contextual_search ( hop-distance rerank ), and semantic_search into `reqlan-search`.
Same `AnalysisApi.searchRequirements` / `--context` contract ( commands ).
Activity-bar idea search uses `WorkspaceIndexRuntime.fuzzy_search` / napi `NativeWorkspaceIndex.fuzzySearch` so ranking stays next to rusqlite and only capped hits cross into JS.
Mixed list includes indexed `.rq` file-name hits ( `kind` `file` ) and pages with `offset` / `limit` ( `truncated` ).
Client-side highlight helpers used by webviews may stay in the TS `./fuzzy-search` export until a shared WASM / JS copy is needed.

status
done
tests
fuzzy.rs:ranks_exact_and_prefix_matches_ahead_of_subsequence_fuzzy_hits, fuzzy.rs:matches_across_separator_substitutions, fuzzy.rs:fuzzy_search_reads_sqlite_and_returns_ranked_hits, fuzzy.rs:ranks_file_name_hits_with_ideas, fuzzy.rs:pages_ranked_hits_with_offset_and_truncated, fuzzy_search.rs:workspace_index_fuzzy_search_ranks_without_exporting_catalog, fuzzy_search.rs:workspace_index_fuzzy_search_includes_file_name_hits, contextual.rs:nearer_ideas_rank_above_farther_with_equal_text_scores, contextual.rs:reranks_using_graph_edges_from_context_seeds, semantic.rs:ranks_name_hits_ahead_of_summary_and_tag_hits, semantic.rs:scores_reference_labels_and_query_tokens

Interactive page: search_rust