This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 205
Search by entire phrase? #182
Comments
I was able to accomplish this by changing function LiteralSearchStrategy() {
this.matches = function (str, crit) {
if (!str) return false
str = str.trim().toLowerCase()
crit = crit.trim().toLowerCase()
return str.indexOf(crit) >= 0
}
} but I would vote for having this be a search option. Thanks! Awesome plugin! |
... or instead of a flag, it could be triggered when the search input begins/ends with |
I just realized this was already implemented in 2df6280 but it hasn't been compiled to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there any way to make this search for the entire input string, rather the words?
E.g., if I search for "let it roll", I get results for all posts which contain those 3 words, anywhere, in any order.
I want to find posts which contain the actual string "let it roll".
The text was updated successfully, but these errors were encountered: