Koha/admin/searchengine/elasticsearch
Ere Maijala bd68e2f75b Bug 22246: Fix indexing of large fields with Elasticsearch
Deduplicate multivalued fields and make sure sort fields are not excessively long. Also updates default mappings so that sort fields are not created for item fields where it doesn't make sense.

Test plan:
1. Reset ES mappings in administration
2. Check that sort is '0' for local-classification in biblio mappings.
3. Change sort back to '1' for local-classification for the next steps.
4. Create a record with 20 items, each with a 100 character long call number
5. Check that when indexed, the record in ES does not have duplicates in any of the item fields and local-classification__sort is truncated to 255 characters.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-03-07 20:54:04 +00:00
..
field_config.yaml Bug 19893: Remove serialization format setting 2018-11-16 11:04:57 +00:00
index_config.yaml Bug 19604: Elasticsearch Fixes for build_authorities_query for auth searching 2018-07-19 17:23:54 +00:00
mappings.pl Bug 19893: Add code review fixes 2018-11-16 11:04:59 +00:00
mappings.yaml Bug 22246: Fix indexing of large fields with Elasticsearch 2019-03-07 20:54:04 +00:00