Lines 328-334
sub get_fixer_rules {
Link Here
|
328 |
# selects a range |
328 |
# selects a range |
329 |
# The split makes everything into nested arrays, but that's not |
329 |
# The split makes everything into nested arrays, but that's not |
330 |
# really a big deal, ES doesn't mind. |
330 |
# really a big deal, ES doesn't mind. |
331 |
$options = '-split => 1' unless $marc_field =~ m|_/| || $type eq 'sum'; |
331 |
$options = '' unless $marc_field =~ m|_/| || $type eq 'sum'; |
332 |
push @rules, "marc_map('$marc_field','${name}.\$append', $options)"; |
332 |
push @rules, "marc_map('$marc_field','${name}.\$append', $options)"; |
333 |
if ($facet) { |
333 |
if ($facet) { |
334 |
push @rules, "marc_map('$marc_field','${name}__facet.\$append', $options)"; |
334 |
push @rules, "marc_map('$marc_field','${name}__facet.\$append', $options)"; |
335 |
- |
|
|