Koha/admin
Fridolin Somers 90ef5ec8c8
Bug 30882: Add max_result_window to index config
Elasticsearch number of results is by default limited by setting "index.max-result-window", default value is 10000.
https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-max-result-window

We use this setting:
44d6528b56/Koha/SearchEngine/Elasticsearch/Search.pm (L411)

I propose we add this setting in index config.

Test plan:
1) Use Elasticsearch
2) Apply patch and flush memcached
3) Rebuild indexes: misc/search_tools/rebuild_elasticsearch.pl -v -b -d
4) Check the settings of index (when using koha-testing-docker*):
   curl 'es:9200/koha_kohadev_biblios/_settings?pretty&filter_path=**.max_result_window'
5) You should see:
   "max_result_window" : "1000000"

* You also need to add this setting to the es section in koha-testing-docker's
docker-compose.yml (after the networks configuration):
     ports:
         - "9200:9300"

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-18 11:23:03 -03:00
..
searchengine/elasticsearch Bug 30882: Add max_result_window to index config 2022-07-18 11:23:03 -03:00
additional-fields.pl
admin-home.pl
adveditorshortcuts.pl
aqbudgetperiods.pl Bug 29429: (bug 17600 follow-up) Fix import in aqbudgetperiods.pl 2021-11-08 12:11:44 +01:00
aqbudgets.pl
aqcontract.pl
aqplan.pl
audio_alerts.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
auth_subfields_structure.pl Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
auth_tag_structure.pl
authorised_values.pl Bug 7374: Add remote image option for authorized values 2022-02-10 14:44:23 -10:00
authtypes.pl
background_jobs.pl Bug 29020: Add link on the mainpage for users without admin access 2021-10-19 09:29:09 +02:00
biblio_framework.pl Bug 30848: Add an ExpandCodedFields RecordProcessor filter 2022-07-01 09:15:46 -03:00
branch_transfer_limits.pl
branches.pl Bug 30937: Add a detail view for libraries 2022-06-27 12:35:22 -03:00
cash_registers.pl
categories.pl Bug 12446: (QA follow-up) Rename canbeguarantee => can_be_guarantee 2022-06-23 13:34:05 -03:00
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
clone-rules.pl
columns_settings.pl Bug 30494: Replace the use of jQueryUI Accordion on the table settings page 2022-05-02 11:22:57 -10:00
columns_settings.yml Bug 28854: (follow-up) Remove fields from from bundle items 2022-07-13 10:36:11 -03:00
credit_types.pl
currency.pl
debit_types.pl
desks.pl
didyoumean.pl
edi_accounts.pl Bug 30130: Use new standard field in account definition 2022-04-13 15:55:39 +02:00
edi_ean_accounts.pl
import_export_authtype.pl Bug 13952: (follow-up) JS translatability, clean warns, other 2022-04-04 16:23:46 +02:00
import_export_framework.pl Bug 13952: (follow-up) Fixing export on default biblio framework 2022-04-04 16:23:45 +02:00
item_circulation_alerts.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
items_search_field.pl
items_search_fields.pl
itemtypes.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
koha2marclinks.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
library_groups.pl
localization.pl
marc-overlay-rules.pl Bug 14957: Fix perlcritic error on admin/marc-overlay-rules.pl 2021-10-27 09:16:42 +02:00
marc_subfields_structure.pl Bug 30848: Add an ExpandCodedFields RecordProcessor filter 2022-07-01 09:15:46 -03:00
marctagstructure.pl Bug 30848: Add an ExpandCodedFields RecordProcessor filter 2022-07-01 09:15:46 -03:00
matching-rules.pl
oai_set_mappings.pl
oai_sets.pl
overdrive.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
patron-attr-types.pl
preferences.pl Bug 29695: Make "modalselect" syspref's values translatable 2022-04-12 11:40:16 +02:00
share_content.pl
smart-rules.pl Bug 19532: Database and installer stuff 2022-03-14 22:45:50 -10:00
sms_providers.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
smtp_servers.pl
sru_modmapping.pl
systempreferences.pl
transfer_limits.pl
transport-cost-matrix.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
usage_statistics.pl
z3950servers.pl