View | Details | Raw Unified | Return to bug 22705
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +1 lines)
Lines 144-150 sub get_elasticsearch_params { Link Here
144
144
145
    $es->{key_prefix} = 'es_';
145
    $es->{key_prefix} = 'es_';
146
    $es->{client} //= '5_0::Direct';
146
    $es->{client} //= '5_0::Direct';
147
    $es->{cxn_pool} //= 'Sniff';
147
    $es->{cxn_pool} //= 'Static';
148
    $es->{request_timeout} //= 60;
148
    $es->{request_timeout} //= 60;
149
149
150
    return $es;
150
    return $es;
(-)a/etc/koha-conf.xml (-1 / +3 lines)
Lines 165-170 __PAZPAR2_TOGGLE_XML_POST__ Link Here
165
 <elasticsearch>
165
 <elasticsearch>
166
     <server>localhost:9200</server>
166
     <server>localhost:9200</server>
167
     <index_name>koha___DB_NAME__</index_name>
167
     <index_name>koha___DB_NAME__</index_name>
168
169
     <!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
170
     <cxn_pool>Static</cxn_pool>
168
 </elasticsearch>
171
 </elasticsearch>
169
 <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
172
 <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
170
 <!-- <elasticsearch_index_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
173
 <!-- <elasticsearch_index_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
171
- 

Return to bug 22705