[Koha-bugs] [Bug 20273] Elasticsearch: Auth-finder.pl autocomplete must use search_auth_compat

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jul 15 17:43:20 CEST 2018


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

--- Comment #21 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Sorry, but I can' test this - I switched the sort to none, but the
auto-complete feature triggers the same error for the sorting. I think we need
to fix this first.

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