Koha/admin/searchengine/elasticsearch
Nick Clemens b0767f5eb6
Bug 33159: Simplify ES handling and fix zebra handling
Before this patch we used two indexes for the thesaurus values, we can
simply index both needed fields into a single index and just form the
search correctly.

This patch also ensures we pass the 'thesaurus' vlaue for the heading
directly to the query builder - for zebra it goes through, and for ES
we convert it to the expected code.

This patch also moves the necessary mappings out of the user definable
mappings and hardcodes them. There is precedent for this with
'match-heading', it ensures matching works as expected

To test:
1 - Follow previous test plan in Zebra and ES

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Frank Hansen <frank.hansen@ub.lu.se>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-31 11:56:53 +02:00
..
field_config.yaml Bug 29632: Don't sort cn-sort numerically 2022-07-18 11:21:47 -03:00
index_config.yaml Bug 30882: Add max_result_window to index config 2022-07-18 11:23:03 -03:00
mappings.pl Bug 30142: Remove spaces from ElasticSearch mapping MARC fields 2022-04-13 15:55:39 +02:00
mappings.yaml Bug 33159: Simplify ES handling and fix zebra handling 2023-03-31 11:56:53 +02:00