[Koha] Elasticsearch authority sorting giving unexpected results

Katrin Fischer katrin.fischer.83 at web.de
Wed May 10 08:15:34 NZST 2023


There is now a bug and a patch from Aleisha waiting for a sign-off:

*BugĀ 26472*
<https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26472> -
Elasticsearch - ES - Authority record results not ordered correctly due
to punctuation marks

:)

Katrin

On 08.05.23 05:56, Aleisha Amohia wrote:
> Hi all,
>
> We have some unexpected sorting results happening when we search
> authority records. We are using Elasticsearch. Wondering if anyone has
> seen this before and knows a code fix or some Elasticsearch
> configuration required to fix it.
>
> I've noticed this happens in upstream Koha too so might be a real bug,
> with Koha or Elasticsearch, I'm not sure which.
>
> As an example, when we search for "political science" authorities with
> the 'heading ascending' sort order, these are the results:
>
> 1. Political science Philosophy
> 2. Political science Poetry
> 3. Political science
> 4. Political science Problems
> 5. Political science Quotations
>
> We would expect Political science (#3 in the above results list) to
> show first, before the others.
>
> Any ideas?
>


More information about the Koha mailing list