From 3c9f3934e2e40a70f1bc4dc2f06f83e86722822a Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 11 Sep 2019 15:01:17 -0400 Subject: [PATCH] Revert "eager global ordinals on facet fields" This reverts commit 950f72d935218ef949b70eaee709c03551744a30. --- Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 709e77bd4b..9a08ecce7b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm @@ -141,11 +141,7 @@ sub create_index { if ($field->facet_field eq 't') { # Facet fields are used for aggregation which requires # an unaltered keyword field. - $fields->{raw} = { - type => 'keyword', - # https://www.elastic.co/guide/en/elasticsearch/reference/6.8/eager-global-ordinals.html - eager_global_ordinals => 'true' - }; + $fields->{raw} = {type => 'keyword'}; } if ($field->search_field eq 't') { -- 2.11.0