Repository navigation
Surface acronym debug info in media search metadata - #87
borkarsaish65 wants to merge 4 commits into
Conversation
borkarsaish65
commented
Sep 30, 2026
- search_metadata.acronym_info: whether the query was read as an acronym and what it expanded to; {} when the vector service sends null or omits it.
- Pass the per-document acronym debug fields through the serializer (acronym_bonus, relevance, acronym_grades, body_backed, measured_relevance, match_source). Each is passed only when the vector service sends a value, so older vector builds are unaffected.
- search_metadata.acronym_info: whether the query was read as an
acronym and what it expanded to; {} when the vector service sends
null or omits it.
- Pass the per-document acronym debug fields through the serializer
(acronym_bonus, relevance, acronym_grades, body_backed,
measured_relevance, match_source). Each is passed only when the
vector service sends a value, so older vector builds are unaffected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The vector service renamed its acronym debug fields: relevance -> blended_score, and acronym_grades/body_backed -> acronym_bonus_breakdown plus four per-type bonus fields. It also added text_match and text_multiplier for the field-boost mode. Update the serializer's pass-through list to the new names. Each field is still passed only when the vector service sends a value. Debug output only; search results and ranking are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… bonus The vector service renamed blended_score to pre_boost_score and removed the acronym bonus (acronym_bonus, acronym_bonus_breakdown and the four per-type bonus fields). Pass pre_boost_score through and drop the removed keys from the serializer's debug list. Debug output only; search results and ranking are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pass through acronym_pre_boost_score, pre_floor_score, acronym_in_body_match and acronym_in_body_multiplier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| 'title_match', 'summary_match'): | ||
| 'title_multiplier', 'summary_multiplier', 'acronym_in_body_multiplier', | ||
| 'title_match', 'summary_match', 'acronym_in_body_match', | ||
| 'match_source', 'acronym_pre_boost_score', 'pre_floor_score'): |
There was a problem hiding this comment.
@borkarsaish65 can u explain pre_floor_score ?