https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27139

--- Comment #1 from David Cook <dc...@prosentient.com.au> ---
Related note:

If you're using Zebra, you have QueryAutoTruncate enabled, and
QueryWeightFields enabled, you'll have fairly simple query building happening.
It leads to the following situation:

Search:
"Emperor penguin (Aptenodytes forsteri) foraging ecology" 
Query:
@attrset Bib-1 @attr 1=1016 @attr 4=6 @attr 5=1 "Emperor penguin (Aptenodytes
forsteri) foraging ecology"

Search:
Emperor penguin (Aptenodytes forsteri) foraging ecology
Query:
ZOOM error 10014 "CCL parsing error" (addinfo: "Operator expected") from
diag-set 'ZOOM'

Search:
Emperor penguin \(Aptenodytes forsteri\) foraging ecology
Query:
@attrset Bib-1 @attr 1=1016 @attr 4=6 @attr 5=1 "Emperor penguin (Aptenodytes
forsteri) foraging ecology"

ZOOM::Query::CCL2RPN returns an exception with code, addinfo, message, and
diagset fields:
$VAR1 = bless( {
                 'code' => 10014,
                 'addinfo' => 'Operator expected',
                 'message' => 'CCL parsing error',
                 'diagset' => 'ZOOM'
               }, 'ZOOM::Exception' );

We would need to return this exception or derived data from
C4::Search::getRecords() and then from
Koha::SearchEngine::Zebra::Search::search_compat().

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to