From: Bill Erickson Date: Fri, 6 Sep 2019 14:35:40 +0000 (-0400) Subject: additional index tidying X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e3e959e3e198ed1697ee19907cc6a70727d38bd4;p=working%2FEvergreen.git additional index tidying Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm index fcb36bb85f..3f26524283 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm @@ -145,13 +145,9 @@ sub create_index { if ($field->search_field eq 't') { # Text search fields get an additional variety of indexes to # support full text searching - # The 'raw' field is used for aggregation. $fields->{text} = {type => 'text'}, - $fields->{text_folded} = { - type => 'text', - analyzer => 'folding' - }; + $fields->{text_folded} = {type => 'text', analyzer => 'folding'}; # Add the language analyzers for my $lang_analyzer ($self->language_analyzers) {