Skip to content

Conversation

@tompollard
Copy link
Member

This PR makes some changes the search algorithm:

  1. Updates pre-processing of search terms:

    • Case normalization (e.g., "MIMIC-IV" matches "mimic-iv")
    • Whitespace normalization
  2. Improves relevance scoring:

    • Higher weight for exact matches (e.g., "MIMIC-IV" matches "MIMIC-IV" more strongly than "MIMIC")
    • Prioritizes title matches (e.g., "MIMIC" in title ranks higher than in description)

Also adds tests.

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