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

Highlight matches in main search results #1065

Open
LukasKalbertodt opened this issue Jan 10, 2024 · 2 comments
Open

Highlight matches in main search results #1065

LukasKalbertodt opened this issue Jan 10, 2024 · 2 comments
Assignees
Labels
area:search Related to Tobira's search

Comments

@LukasKalbertodt
Copy link
Member

When searching for "Peter", then that part of the presenter should be highlighted in the search results. Same for all other metadata fields of course. The style should make sure people can easily see the matches at a glance, but without being super ugly or burning one's eyes.

There are some challenges here since (a) most metadata can be truncated and (b) in the future, some metadata will only be shown if there is a match. So the match influences what metadata is shown and how to truncate metadata. For example, if there is a match at the end of the description, that part should be shown with some context around it. And not just the start of the description. This also briefly came up here.

@oas777
Copy link
Collaborator

oas777 commented Jan 10, 2024

As for highlighting keep in mind we probably won't be able to do this when searching slides and transcripts unless we use a timeline representation. This probably requires a clear distinction of "search in DC metadata" vs. "search in video (slides/transcripts)".

@LukasKalbertodt
Copy link
Member Author

Yeah, somehow indicating that a match was found in slides/transcripts must work a bit differently than matches in text metadata, true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:search Related to Tobira's search
Projects
Status: Todo
Development

No branches or pull requests

2 participants