reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

katz_search

reqlan rq/core_analysis/search.rq:109

Katz 0.082

Search can bias matches by inbound Katz centrality ( katz_centrality ).
The bias is off unless the caller sets it.
CLI flag: `reqlan search <query> --katz`.
API field: `SearchRequirementsOptions.katz`.
When the bias is on, the score is `textScore * (1 + katzScore)`.
The match reasons include `katz:<score>`.
Context hop decay runs first. The Katz multiplier runs second.
When the bias is off, match order and scores stay on the text ranking.

implementation
katz.rs, api.rs, native-analysis-api.ts, search.ts
status
done
tests
katz.rs:katz_bias_is_off_by_default_and_lifts_the_higher_score_when_on, katz.rs:katz_bias_reports_a_missing_score

Interactive page: katz_search