Koha-clms/Koha/SearchEngine/Elasticsearch
Nick Clemens d73e3399ca
Bug 39070: Don't request facets when searching for recrod matches
This patch adds a new option to Elasticsearch to skip facets in build_query and
build_query_compat.

There should be no behavior change, however, queries to ES should be simpler

To test:
1 - Export some record from Koha
2 - Stage the records for import, matching on 999c
3 - Confirm expected matches
4 - Switch batch to use ISBN for matching
5 - Confirm expected matches
6 - Apply patches, restart all
7 - Switch batch to use 999c
8 - Confirm matches
9 - Switch batch to use ISBN
10 - Confirm matches

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-02-13 16:17:58 +01:00
..
Browse.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Indexer.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
QueryBuilder.pm Bug 39070: Don't request facets when searching for recrod matches 2025-02-13 16:17:58 +01:00
Search.pm Bug 39076: Use state variable to avoid creating extra ES connections 2025-02-13 16:17:57 +01:00