Skip to content

bug: model hub search results not sorted by relevance score #5860

@louis-jan

Description

@louis-jan

Description

The model hub search function uses fuzzy search but doesn't sort results by their relevance score. This causes less relevant results to appear at the top while more relevant matches are buried in the list, making it difficult for users to find the models they're actually looking for.

Currently, search results appear in an arbitrary order rather than being ranked by how well they match the search query, leading to poor search experience and users having to scroll through irrelevant results.

Image

Expected Behavior

Search results should be sorted by their fuzzy search relevance score in descending order, so that:

  • Most relevant matches appear at the top of the results
  • Users can quickly find the models that best match their search query
  • Search experience is intuitive and efficient
  • Results are ranked by how closely they match the search terms

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions