[Koha-bugs] [Bug 19604] Elasticsearch Fixes for build_authorities_query for auth searching

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 12 11:31:26 CEST 2018


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |katrin.fischer at bsz-bw.de

--- Comment #12 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Ended here trying to fix the Internal server error I have with every authority
search (OPAC, Authorities module and linker plugin). Error is:

[Request] ** [http://localhost:9200]-[400] [query_shard_exception] No mapping
found for [Heading__sort.phrase] in order to sort on, with:
{"index":"koha_kohadev_authorities","index_uuid":"FwdgBXbyRq-5E0F3sa4LTA"},
called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/perl5/Catmandu/Store/ElasticSearch/Bag.pm line 167. With vars:
{'status_code' => 400,'body' => {'error' => {'root_cause' => [{'type' =>
'query_shard_exception','index' => 'koha_kohadev_authorities','index_uuid' =>
'FwdgBXbyRq-5E0F3sa4LTA','reason' => 'No mapping found for
[Heading__sort.phrase] in order to sort on'}],'grouped' => bless( do{\(my $o =
1)}, 'JSON::PP::Boolean' ),'reason' => 'all shards failed','phase' =>
'query','failed_shards' => [{'shard' => 0,'node' =>
'vSTPqetISteesIkQSA_Ehg','reason' => {'index' =>
'koha_kohadev_authorities','reason' => 'No mapping found for
[Heading__sort.phrase] in order to sort on','index_uuid' =>
'FwdgBXbyRq-5E0F3sa4LTA','type' => 'query_shard_exception'},'index' =>
'koha_kohadev_authorities'}],'type' =>
'search_phase_execution_exception'},'status' => 400},'request' => {'ignore' =>
[],'method' => 'GET','mime_type' => 'application/json','qs' => {},'path' =>
'/koha_kohadev_authorities/data/_search','serialize' => 'std','body' => {'size'
=> 20,'sort' => [{'Heading__sort.phrase' => 'asc'}],'query' => {'bool' =>
{'must' => [{'wildcard' => {'Heading-Main.phrase' => '*der*'}}]}},'from' =>
0}}}
Unable to perform your search. Please try again.

Can you help?

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


More information about the Koha-bugs mailing list