Translate function_score with one function over match_all into a Solr function query #178
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.32) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 129 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.291
Real PR Conversation Timeline
1 comments
"Review active on #178"
general
weight: 0.35
janhoy
A converted
function_scorebecameq=:, so the operation matched every document with a constant score and measured none of the scoring. Afunction_scorewhose query ismatch_all(or absent) and that has a singlefield_value_factor(any modifier) or agauss,exporlineardecay on a geo point now becomes{!func}with the same function. Withmatch_allevery document scores 1, soboost_modedoes not change the result. Anything else (several functions,weight,missing, numeric or date decays, a scoring inner query) stays untranslated with the existing warning.Each form was compared with OpenSearch on the same geonames documents, score by score: the ten modifiers,
gaussandexpagree to a relative 1.4e-06 or better, andlinearto an absolute 1.7e-07. For geonames' two operations the converter now writes what solr-orbit-workloads ships, and over 300 documents each its scores match OpenSearch's to 1.4e-07 (field_value_factor) and 3.3e-06 (gauss). The new tests fail without the change.