From: Bill Erickson Date: Wed, 25 Sep 2019 20:48:26 +0000 (-0400) Subject: Support metarecord indexing and searching X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ca7883c8e9bb1ed2a657082bb775ea66731422a3;p=working%2FEvergreen.git Support metarecord indexing and searching Signed-off-by: Bill Erickson --- 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; }