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

Do not highlight Boolean operators in search results #11595

Closed
ryan-carpenter opened this issue Aug 6, 2024 · 0 comments · Fixed by #11542
Closed

Do not highlight Boolean operators in search results #11595

ryan-carpenter opened this issue Aug 6, 2024 · 0 comments · Fixed by #11542
Labels

Comments

@ryan-carpenter
Copy link

Terms entered in the search bar are highlighted in the entry editor, which is helpful for reviewing the results. Boolean operators are also highlighted as if they were matching keywords. This adds noise the results and can make it unclear that the operator was recognized as such (and not as a keyword). This is most confusing when the operator is the only highlighted word in the current view, which looks as if the match is a false positive (even though it is not).

Example search

title="effects" and title="drill"

Results include
image

Only the target keywords should be highlighted in the results, not the Boolean operators and, or and not (and not). In this example "effects" and "drill" should be highlighted.

JabRef 5.15--2024-07-10--1eb3493
Linux 6.9.9-1-default amd64
Java 21.0.2
JavaFX 22.0.1+7

@LoayGhreeb LoayGhreeb mentioned this issue Sep 2, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants