SignalProperties

data class SignalProperties(val enabled: Boolean = true, val weight: Double? = null, val similarityThreshold: Double? = null, val topK: Int? = null)

One signal's override. weight, similarityThreshold and topK are nullable so "not set" is distinguishable from "set to the scorer's own default" — a null weight falls back to the scorer's own neutral default instead of forcing a specific number.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, weight: Double? = null, similarityThreshold: Double? = null, topK: Int? = null)

Properties

Link copied to clipboard
val enabled: Boolean = true

Whether this signal participates at all.

Link copied to clipboard

Cosine floor for candidate recall; vector signal only.

Link copied to clipboard
val topK: Int? = null

Max similar members considered per cluster seed; vector signal only.

Link copied to clipboard
val weight: Double? = null

Contribution weight in the blend; null keeps the scorer's own default.