https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22246 Bug ID: 22246 Summary: Elasticsearch indexing needs a maximum length for __sort fields Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: ere.maijala@helsinki.fi Target Milestone: --- Currently there's no limit to the length of *__sort fields. If such field is created from item information or something else that can be repeated a lot, the field may become too long. Such field is e.g. local-classification, which is by default created from 952o. If there are hundreds or thousands of items, the field may become longer than what Elasticsearch accepts. Also consider making it a non-sortable field by default. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.