[Koha-bugs] [Bug 27088] Searching with just OR or AND gives error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 3 02:57:30 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27088
--- Comment #8 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #6)
> IMO it's not a good idea to parse the query for such problems before we sent
> it to ES. We should request ES and eventually provide feedback to the user
> about why their query might have been syntactically wrong.
I'm sure it's probably a duplicate but I've raised Bug 27139 about showing
users that there has been a search query error.
That being said... you can type gibberish into Google and Google will never
tell you that you have a syntax error.
(Although I just tried doing an "any of these words" advanced search in Google
using "miniature OR" and it created a search query for "miniature OR OR" so
even Google is a bit buggy / incorrectly documented when it comes to complex
search.)
(Typing '"urban keith" and "pickles"' into Google without the single quotes
also gives different results to what I'd expect. I want to know about Urban
Keith and not Keith Urban, although it seems that Google thinks I've made a
typo.)
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list