[Koha-bugs] [Bug 9368] specific behavior of yr and acqdate indexes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 18 04:43:21 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9368
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcook at prosentient.com.au
--- Comment #14 from David Cook <dcook at prosentient.com.au> ---
It looks to me that "Publication Date (yyyy)" searching is already broken in
master (before applying these patches) when using QueryParser.
I get a query like this:
@attr 2=102 @or @or @attr 1=1016 @attr 5=1 @attr 4=6 "yr:2012" @attr 9=20 @attr
2=102 @attr 5=1 @attr 4=6 "yr:2012" @attr 9=34 @attr 2=102 @attr 5=1 @attr 4=6
"yr:2012"
It's trying to do a keyword search with the keyword string as "yr:2012".
It's worth noting that the "Bug 9368 - do not change if QueryParser" patch
doesn't fix this.
--
I have a counter-patch that I will be posting in a moment, which will fix the
non-QueryParser search, and which will cause QueryParser to fallback to
non-QueryParser mode instead of breaking.
(It seems to me that QueryParser needs a lot more work before its able to
replace the existing buildQuery, unfortunately.)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list