Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search results are incorrectly ordered in case of diacritics unfamiliar to search language #1190

Open
kouralex opened this issue Aug 23, 2021 · 0 comments

Comments

@kouralex
Copy link
Contributor

At which URL did you encounter the problem?

https://finto.fi/finaf/fi/

What steps will reproduce the problem?

  1. Go to URL above
  2. Search for ecole and either wait for autocomplete or have the usual enter key search

What is the expected output? What do you see instead?

I get the following list instead of the correctly sorted one labelled in red numerals.
image

It seems like the correct sorting has to be done already in SPARQL (or in PHP) instead of adjusting the autocomplete (JavaScript, that is) as the problem persists also in enter search: https://finto.fi/finaf/fi/search?clang=fi&q=ecole

Another thing worth mentioning is that the sorting order depends on the given content language. E.g., in Finnish ä is an ordinary letter following z and å whilst á is not, thus, preferring the order where etc. are equal and å and ä are not. It is not immediately clear to me which parts of these are governed by Fuseki configuration file. This is already working correctly for a, å and ä on Finto, so I suspect the Fuseki configuration takes care of these "base" cases in Finnish in this way. However, this is not the case for, e.g., é, which is shown in the example above (è is not part of the Finnish alphabet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant