Skip to content

Search: Refresh initial order of mentors each day using click data #895

@wei2912

Description

@wei2912

Currently, mentors are sorted by "relevance" which is arbitrary and undefined with an empty query. At the same time, this leads to the same couple of mentors being shown at the front when the list of mentors doesn't change.

There are a few requirements:

  1. Mentors with fewer clicks should be sorted in front.
  2. To avoid the order of mentors jumping around constantly while the user is using the website (e.g. browsing through pages), the click data should be collected for each profile and then cached with a 24-hour expiration since the user last visited the website.

Click data will be tracked by #894. Sorting can then be configured by a similar approach to https://www.elastic.co/guide/en/search-ui/current/guides-changing-component-behavior.html#guides-changing-component-behavior-override-mapcontexttoprops.

KIV: Incorporate click data into sorting for any search query, using e.g. RRF to combine rankings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureCreated by Linear-GitHub Sync

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions