Interface: ScoringConfig
Defined in: Services/Search/SearchPipelineConfig.ts:146
Properties
facetScoring?
optionalfacetScoring?:"max"|"main-prefer"
Defined in: Services/Search/SearchPipelineConfig.ts:154
How to score verses with multiple facets (main descriptions vs terse sub-facets).
- "max" (default): Use the highest score across all facets.
- "main-prefer": Dampen sub-facet scores so that detailed main facets win when the sub-facet advantage is marginal. Prevents terse phrases like "not being afraid of disaster" from outranking "people terrified by thunderstorm".
subFacetDamping?
optionalsubFacetDamping?:number
Defined in: Services/Search/SearchPipelineConfig.ts:161
Sub-facet score multiplier when facetScoring is "main-prefer". Sub-facet scores are multiplied by this value before comparing to main facet scores. Lower = more aggressive demotion. Default: 0.92
topicBoost?
optionaltopicBoost?:number
Defined in: Services/Search/SearchPipelineConfig.ts:175
Score boost per unit of tag strength for topic-expanded verses. Formula: verseScore = topicScore × topicDamping + topicBoost × tagStrength. Default: 0.15
topicDamping?
optionaltopicDamping?:number
Defined in: Services/Search/SearchPipelineConfig.ts:168
Topic-expanded verse score multiplier when facetScoring is "main-prefer". Topic entries are terse labels with the same over-matching risk as sub-facets. Default: 0.85
topicMinScore?
optionaltopicMinScore?:number
Defined in: Services/Search/SearchPipelineConfig.ts:184
Minimum topic embedding similarity score required before expanding a topic into its verse list. Topics below this threshold are ignored entirely. Good matches (exact concepts) typically score 0.50+; false positives (loosely related concepts like "earthquakes" for "storms") score below 0.50. Default: 0.50
topicSources?
optionaltopicSources?:TopicSourcesConfig
Defined in: Services/Search/SearchPipelineConfig.ts:190
Controls which topic sources are included in semantic search expansion. When omitted, all sources are enabled by default.