From ff67213c544acef1a8693396435efce95d49164a Mon Sep 17 00:00:00 2001 From: Nikitas Tampakis Date: Fri, 14 Aug 2020 08:53:01 -0400 Subject: [PATCH] temporarily add links to hathi records corresponding to local holdings --- app/controllers/catalog_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index a1ae9ff4..842346e9 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -173,7 +173,11 @@ def self.generate_cluster_fq(index, limit, elvl = false) 'facet.mincount': 0, # fq: '{!tag=cluster}{!collapse field=cluster_id nullPolicy=expand size=5000000 min=record_source_id}', # this approach needs expand.field=cluster_id +<<<<<<< HEAD # MOVE TO FACET: fq: '{!bool tag=cluster must_not=$x1 must_not=$x2 must_not=$x3 must_not=$x4 must_not=$x5 must_not=$x6 must_not=$x7}', +======= + fq: %q~{!tag=cluster}NOT ({!join from=cluster_id to=cluster_id v='record_source_f:"Penn"'} AND record_source_f:"HathiTrust") NOT record_source_id:3~, +>>>>>>> 4618572... temporarily add links to hathi records corresponding to local holdings expand: 'true', 'expand.field': 'cluster_id', 'expand.q': '*:*',