-
Notifications
You must be signed in to change notification settings - Fork 449
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
Scaler search is not returning results correctly #857
Comments
@thisisobate - I think that the "wild card" feature should be dropped. It seems unconventional for a search. Implicitly, when a user types "abc" the search should be for any match containing "abc". Do you agree @tomkerkhove? If you agree, please assign this to @thisisobate. |
/cc @nate-double-u |
Agreed! |
Please assign to @thisisobate. |
@chalin You're right. Implicitly, when a user types "abc" the search should be for any match containing "abc". The tricky thing is that for Lunr, it can only match a word (term) not characters. E.g, we want to search for scalers that are maintained by Microsoft. We start by entering the "m" character, then "i". If we should drop the wildcard search, then it means the user can only receieve results that match exactly with the search query. What this means is the search query must match at least one word in the index/record/database. Inotherwords, If I search for "Microsoft", it should return every record that contains Microsoft and nothing else. |
IMHO, then either we shouldn't be using Lunr, or we need to make the necessary adjustments so that we can search for an arbitrary string being contained in the search targets. |
Sure...that's what I tried doing with the wildcard thing. Anyways, I've started working on this issue so @tomkerkhove feel free to assign me |
Come to think of it ... why not use the user's filter-string input of, say |
That could work...would try this approach and see if it satisfies all the edge cases. |
|
The search on scaler page does not show results when using "Azure"/"AWS"/"Redis" after #805
Expected Behavior
Show "Azure Service Bus" and others when searching for "Azure"; for example.
Actual Behavior
No results were found
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: