[Koha-bugs] [Bug 22246] Elasticsearch indexing needs a maximum length for __sort fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 5 10:13:37 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22246

Ere Maijala <ere.maijala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85863|0                           |1
        is obsolete|                            |

--- Comment #6 from Ere Maijala <ere.maijala at helsinki.fi> ---
Created attachment 86050
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86050&action=edit
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 at bywatersolutions.com>

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list