additional index tidying
authorBill Erickson <berickxx@gmail.com>
Fri, 6 Sep 2019 14:35:40 +0000 (10:35 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 27 Oct 2021 15:44:13 +0000 (11:44 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm

index fcb36bb..3f26524 100644 (file)
@@ -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) {