[Koha-bugs] [Bug 17255] Upgrade Elastic Search code to work with version 5.1

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 27 15:41:57 CET 2017


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

--- Comment #38 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Authority search seems broken, someone faced it?

[Request] ** [http://localhost:9200]-[400] [illegal_argument_exception]
Fielddata is disabled on text fields by default. Set fielddata=true on
[Heading.phrase] in order to load fielddata in memory by uninverting the
inverted index. Note that this can however use significant memory., called from
sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/local/share/perl/5.20.2/Catmandu/Store/ElasticSearch/Bag.pm line 159. With
vars: {'request' => {'serialize' => 'std','method' => 'GET','body' => {'sort'
=> [{'Heading.phrase' => 'asc'}],'from' => 0,'size' => 20,'query' => {'bool' =>
{'should' => [{'match' => {'Heading-Main' => ''}}]}}},'ignore' =>
[],'mime_type' => 'application/json','path' =>
'/koha_kohadev_authorities/data/_search','qs' => {}},'status_code' =>
400,'body' => {'status' => 400,'error' => {'caused_by' => {'reason' =>
'Fielddata is disabled on text fields by default. Set fielddata=true on
[Heading.phrase] in order to load fielddata in memory by uninverting the
inverted index. Note that this can however use significant memory.','type' =>
'illegal_argument_exception'},'phase' => 'query','grouped' => bless( do{\(my $o
= 1)}, 'JSON::PP::Boolean' ),'failed_shards' => [{'shard' => 0,'node' =>
'or12QGCqT2mEEFuFMr4wFA','index' => 'koha_kohadev_authorities','reason' =>
{'reason' => 'Fielddata is disabled on text fields by default. Set
fielddata=true on [Heading.phrase] in order to load fielddata in memory by
uninverting the inverted index. Note that this can however use significant
memory.','type' => 'illegal_argument_exception'}}],'type' =>
'search_phase_execution_exception','root_cause' => [{'type' =>
'illegal_argument_exception','reason' => 'Fielddata is disabled on text fields
by default. Set fielddata=true on [Heading.phrase] in order to load fielddata
in memory by uninverting the inverted index. Note that this can however use
significant memory.'}],'reason' => 'all shards failed'}}}
Unable to perform your search. Please try again.

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


More information about the Koha-bugs mailing list