From 7c7ef4b6aa259ef86f28b36b8445c8a77d3495b6 Mon Sep 17 00:00:00 2001
From: Robert Lange <robert.lange@uni-leipzig.de>
Date: Fri, 26 Feb 2021 15:06:47 +0100
Subject: [PATCH] refs #19222 [finc] fix tests for searchspecs.yaml

* adopt changes of 17673, performance optimization for local holdings boost
---
 .../yaml/searchspecs/result/local/alpha/searchspecs.yaml        | 2 +-
 .../configs/yaml/searchspecs/result/local/searchspecs.yaml      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/alpha/searchspecs.yaml b/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/alpha/searchspecs.yaml
index 1e8bfdcad8d..a83f224bf09 100644
--- a/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/alpha/searchspecs.yaml
+++ b/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/alpha/searchspecs.yaml
@@ -252,7 +252,7 @@ AllFields:
       - ord(publishDateSort)^10
     -
       - bf
-      - 'if(exists(query({!v=''facet_avail:Local*''})),10,1)^1000'
+      - 'if(exists(query({!v=''facet_avail:Local''})),10,1)^1000'
   DismaxFields:
     - title_short^1000
     - title_full_unstemmed^1000
diff --git a/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/searchspecs.yaml b/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/searchspecs.yaml
index 1e8bfdcad8d..a83f224bf09 100644
--- a/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/searchspecs.yaml
+++ b/module/finc/tests/fixtures/configs/yaml/searchspecs/result/local/searchspecs.yaml
@@ -252,7 +252,7 @@ AllFields:
       - ord(publishDateSort)^10
     -
       - bf
-      - 'if(exists(query({!v=''facet_avail:Local*''})),10,1)^1000'
+      - 'if(exists(query({!v=''facet_avail:Local''})),10,1)^1000'
   DismaxFields:
     - title_short^1000
     - title_full_unstemmed^1000
-- 
GitLab