Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matentzn opened this issue Feb 10, 2025 · 1 comment
Labels

Comments

@matentzn
Copy link
Contributor

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

@haideriqbal haideriqbal added the low priority Workaround available label Feb 10, 2025
@dosumis
Copy link

dosumis commented Feb 19, 2025

I'm pretty sure that OLS autocomplete used to support this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants