Support metarecord indexing and searching
authorBill Erickson <berickxx@gmail.com>
Wed, 25 Sep 2019 20:48:26 +0000 (16:48 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 17 Jan 2020 19:36:02 +0000 (14:36 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm

index 2fc0c37..dac1c5b 100644 (file)
@@ -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;
     }