Skip to content

Surface acronym debug info in media search metadata - #87

Open
borkarsaish65 wants to merge 4 commits into
ELEVATE-Project:release-1.2.0from
borkarsaish65:feat/acronym-metadata-release-1.2.0
Open

borkarsaish65 wants to merge 4 commits into
ELEVATE-Project:release-1.2.0from
borkarsaish65:feat/acronym-metadata-release-1.2.0

Conversation

@borkarsaish65

Copy link
Copy Markdown
  • 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>
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f5637414-09e7-4111-a203-96526676fb6a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

borkarsaish65 and others added 3 commits October 1, 2026 14:33
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'):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@borkarsaish65 can u explain pre_floor_score ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants