ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

In autocomplete (and search results?) show _how_ the match was established

Open matentzn opened this issue 9 months ago • 1 comments

New feature description.

OLS currently does not have a way to display how a search hit was established.

Image

In particular, the autocomplete field does not show the field where the hit was done, like say Protege does:

Image

It would be super useful if at least the autocomplete, but maybe even the search results page, would indicate which field in the index was matched by the search so you can more immediately mentally discard or zone in on a specific match.

Use cases

Make it easier to understand the relevance of a search.

User communities

  • All OLS users

Describe the solution you'd like

I don't know. There must be some guidelines for search design for this kind of thing. Protege is a but dated, but that's one solution (that does not fit in the search paradigm of OLS, but maybe can serve as inspiration). Maybe just list the "match field" as a little green box?

Describe alternatives you've considered

None.

Additional context

See for example my worries in #843

matentzn avatar Feb 10 '25 08:02 matentzn