/// Configuration for the knowledge-graph path scorer.
#[derive(Debug, Clone)]pubstructKgScorerConfig{/// Score added per unique matched term.
pubweight_per_term:i32,
/// Maximum boost the scorer can contribute regardless of match count.
pubmax_boost:i32,
}implDefault forKgScorerConfig{fndefault()->Self{Self{
weight_per_term:5,
max_boost:30,}}}