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

[BUG] Need the ability to search for word sequences #97

Open
TomOlson opened this issue Oct 28, 2024 · 0 comments
Open

[BUG] Need the ability to search for word sequences #97

TomOlson opened this issue Oct 28, 2024 · 0 comments

Comments

@TomOlson
Copy link

TomOlson commented Oct 28, 2024

Describe the bug
The search box does not support searching for sequences of words, for example "Khronos Data Format Specification". As you type the sequence, the results displayed are only for the most recent full word in the string you've entered. Since the first three words are very common in the specification, it is impossible to find what you are looking for. If you can find the right chapter, HTML search will find the sequence, since every browser I've tried handles search multi-word search strings just fine. But finding that chapter is painful. As it is, AFAICT my best option is to clone the repo and run grep on the source files.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the docs site home page
  2. Type "Khronos Data Format" into the search box, observing how the search results change as you type.
  3. Note that from "Khrono" to "Khronos Dat", the search results are for the string "khronos". After you type the final "a" in "Khronos Data", they change to show all matches to the word "Data". Similarly, after you type the final "t" in "Khronos Data Format", you get all matches for "format".

Expected behavior
I expect to find matches to the string I typed, including blanks; fine (preferred) if sequences of whitespace characters (tab, CR, LF, space) are considered to match a blank.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome 130.0.6723.70, FireFox 131.0.3
  • Version [e.g. 22]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant