[Koha-bugs] [Bug 20261] New: No result in some page in authority search opac and pro (ES)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 21 11:33:32 CET 2018


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

            Bug ID: 20261
           Summary: No result in some page in authority search opac and
                    pro (ES)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: claire.hernandez at biblibre.com

How I reproduce this issue:

* apply bug 17373 (auth unimarc mapping)
* mappings.pl?op=reset&i_know_what_i_am_doing=1
* reindex autorities - ex: rebuild -a -v -d
* authority search in opac or pro, looking for a term used
* page 1 =>  OK, I see results
* clic on page 2 => OK, I see results
* clic on page 3 => KO, no result
* clic on the lasty page displayed => KO (another), with an error

==> error.log <==
[Wed Feb 21 10:30:11 2018] authorities-home.pl: [Request] **
[http://elastic:80]-[500]
{"error":{"root_cause":[{"type":"query_phase_execution_exception","reason":"Result
window is too large, from + size must be less than or equal to: [10000] but was
[10020]. See the scroll api for a more efficient way to request large data
sets. This limit can be set by changing the [index.max_result_window] index
level setting."}],"type":"search_phase_execution_exception","reason":"all
shards
failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"koha_maedi_authorities","node":"hhR2RjsnSye_jPUnySnMkQ","reason":{"type":"query_phase_execution_exception","reason":"Result
window is too large, from + size must be less than or equal to: [10000] but was
[10020]. See the scroll api for a more efficient way to request large data
sets. This limit can be set by changing the [index.max_result_window] index
level setting."}}]},"status":500}, called from sub
Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/perl5/Catmandu/Store/ElasticSearch/Bag.pm line 167. With vars:
{'status_code' => 500,'request' => {'method' => 'GET','path' =>
'/koha_maedi_authorities/data/_search','serialize' => 'std','body' => {'size'
=> 20,'from' => 10000,'sort' => [{'Heading__sort.phrase' => 'asc'}],'query' =>
{'bool' => {'should' => [{'match' => {'Heading-Main' => 'de'}}]}}},'qs' =>
{},'mime_type' => 'application/json','ignore' => []}}
[Wed Feb 21 10:30:11 2018] authorities-home.pl: Unable to perform your search.
Please try again.

I don't know if it is a mapping problem or a page management issue in authority
search. To be investigated.

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


More information about the Koha-bugs mailing list