Lines 312-317
sub _get_elasticsearch_field_config {
Link Here
|
312 |
if (!defined $settings) { |
312 |
if (!defined $settings) { |
313 |
my $config_file = C4::Context->config('elasticsearch_field_config'); |
313 |
my $config_file = C4::Context->config('elasticsearch_field_config'); |
314 |
$config_file ||= C4::Context->config('intranetdir') . '/admin/searchengine/elasticsearch/field_config.yaml'; |
314 |
$config_file ||= C4::Context->config('intranetdir') . '/admin/searchengine/elasticsearch/field_config.yaml'; |
|
|
315 |
local $YAML::XS::Boolean = 'JSON::PP'; |
315 |
$settings = YAML::XS::LoadFile( $config_file ); |
316 |
$settings = YAML::XS::LoadFile( $config_file ); |
316 |
} |
317 |
} |
317 |
|
318 |
|
318 |
- |
|
|