Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add boosting for news content at query time #116

Merged
merged 1 commit into from
Nov 19, 2023
Merged

Add boosting for news content at query time #116

merged 1 commit into from
Nov 19, 2023

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Nov 19, 2023

News content (specifically, content with a content_purpose_supergroup of news_and_communications) doesn't age very well in terms of its usefulness to mainstream search scenarios. Early on in its life, it may be more relevant to users but the model hasn't learned that yet due to a lack of events. Later on, it may have been viewed a lot but no longer be relevant and potentially misleading to users who don't notice the date.

  • Add two promotion and two demotion timescales/cutoffs and apply dynamic query time boost specs depending on the content's public_timestamp
  • Add timecop for time freezing in tests (and enforce safe_mode)

News content (specifically, content with a content_purpose_supergroup of
`news_and_communications`) doesn't age very well in terms of its
usefulness to mainstream search scenarios. Early on in its life, it may
be more relevant to users but the model hasn't learned that yet due to a
lack of events. Later on, it may have been viewed a lot but no longer be
relevant and potentially misleading to users who don't notice the date.

- Add two promotion and two demotion timescales/cutoffs and apply
  dynamic query time boost specs depending on the content's
  public_timestamp
- Add `timecop` for time freezing in tests (and enforce `safe_mode`)
@csutter csutter merged commit 0202458 into main Nov 19, 2023
3 checks passed
@csutter csutter deleted the news-boost branch November 19, 2023 18:08
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.

1 participant