From ad28752c21fd8bff1e87c0745392d7182b878ec6 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 25 Sep 2019 16:48:26 -0400 Subject: [PATCH] Support metarecord indexing and searching Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm index 2fc0c3708d..dac1c5b61f 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm @@ -198,6 +198,10 @@ sub bib_search { # ES field collapse queries return counts for matched documents # instead of matched groups. To determine the metarecord hit # count (up to 1k), fetch up to 1k responses and count them. + # NOTE we could make metabib searches less hinky by creating + # metabib-specific ES indexes, i.e. copy data from constituent + # records into grouped metabib indexes -- may require a separate + # ES index. $elastic_query->{from} = 0; $elastic_query->{size} = 1000; } -- 2.11.0