https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23875
Andrii Nugged <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #36 from Andrii Nugged <[email protected]> --- (In reply to Ere Maijala from comment #2) > Should we care that the sorting by local-number.raw isn't numeric? was that comment not included in decision? - - - On 25.05 Elastic (7) started to crash now, with [illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [local-number] in order to load field data by uninverting the inverted index. Note that this can use significant memory. so I returned to community's "number" from mappings.yaml, but my productions, which used 'stdno' for local-number, now became dysfunctional when searching for local-number, because numbers usually are "979-0-2307-9725-2" for example... Just no results. Without part of this patch (I especially removed line # push @{ $res->{sort} }, { 'local-number' => { order => 'desc' } }; ) all works again. Does this patch ignored that "local-number.raw isn't numeric" or - or do I need reconfigure somehow Elastic? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
