Skip to content

improve search

Bengfort requested to merge improve-search into main

These are some ideas I had about improving the search.

  • score based sorting: instead of just filtering out the studies that do not match all, calculate a score, filter out all studies with a score of 0, and sort by that score. This way the most relevant matches are displayed at the top. This also allows us to search in more fields (e.g. description) without producing a lot of noise in the search results because they will be sorted to the back.
  • advanced syntax: something like "my title" keyword:mri. Similar syntax is supported by many search engines. Users might even expect quotes to work.
  • advanced search UI: I would like to have a UI that helps users generate the advanced syntax, similar to the github's filters.

The downside of all this is complexity, both in the code and for users.

Edited by Bengfort

Merge request reports