[Koha-bugs] [Bug 12478] Elasticsearch support for Koha

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 1 07:07:23 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478

--- Comment #95 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Peter Zhao from comment #94)
> [Tue Sep 01 10:03:30 2015] [error] [client 127.0.0.1] [Tue Sep  1 10:03:30
> 2015] opac-search.pl: [Serializer] ** encountered object '1', but neither
> allow_blessed nor convert_blessed settings are enabled at
> /usr/local/share/perl/5.14.2/Search/Elasticsearch/Role/Serializer/JSON.pm
> line 24., referer: http://127.0.1.1/
> [Tue Sep 01 10:03:30 2015] [error] [client 127.0.0.1] [Tue Sep  1 10:03:30
> 2015] opac-search.pl: , called from sub
> Search::Elasticsearch::Role::Client::Direct::__ANON__ at
> /usr/local/share/perl/5.14.2/Catmandu/Store/ElasticSearch/Bag.pm line 127.
> With vars: {'var' => {'from' => 0,'query' => {'query_string' => {'fuzziness'
> => 'auto','default_field' => '_all','query' =>
> '(title:best)','default_operator' => 'AND','lenient' => bless( do{\\(my $o =
> 1)}, 'JSON::PP::Boolean' )}},'size' => 20,'facets' => {'subject' => {'terms'
> => {'field' => 'subject__facet'}},'author' => {'terms' => {'field' =>
> 'author__facet'}},'itype' => {'terms' => {'field' => 'itype__facet'}}}}},
> referer: http://127.0.1.1/

Interesting. What do you get as the output of:

$ perl -MData::Dumper -MJSON -e 'print Dumper JSON::true;'

Also, what about:

perl -MJSON::XS::Boolean -e ''

Thirdly, does installing libjson-xs-perl make things work?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list