Sorting Issue with Norwegian Alphabet in Typesense
TLDR Isak had trouble with Norwegian alphabet sorting in Typesense. Kishore Nallan explained that Typesense doesn't support locale specific sorting and proposed different character replacements. Isak found an acceptable solution.
1
Aug 20, 2022 (14 months ago)
Isak
02:34 PMWhen i sort after Ø, Æ and Å. They come above A and not after Z. In the norwegian alphabet, ÆØ and Å comes after Z not before.
Example: ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ.
In typesense it seems like this: ÆØÅABCDEFGHIJKLMNOPQRSTUVWXYZ.
Example the way i want it to sort:
• Albert Einstein
• Bill gates
• Ørken Mannen
Example the way typesense sort it:
• Ørken Mannen
• Albert Einstein
• Bill gates
Kishore Nallan
02:36 PMKishore Nallan
02:37 PMIsak
02:49 PMIsak
02:58 PMæ = zzzza
ø = zzzzb
å = zzzzc
Kishore Nallan
03:08 PMIsak
03:10 PM1
Typesense
Indexed 2776 threads (79% resolved)
Similar Threads
Locale Specific Sorting Issue in TypeSense (Cloud)
Viliam inquired if TypeSense supports locale specific sorting. Kishore Nallan confirmed that Typesense only supports English-based sorting. Viliam then decided to create a separate field for sorting.
Understanding Typesense Language Search and Locale
Juri inquired about language search in Typesense, and Kishore Nallan clarified it requires a locale to index certain languages. Discussion also included how to specify these locales and that multiple languages can be searched without decreasing performance.
Checking Typesense Server Version and Sorting Schema Field
Digamber asked how to check the local typesense server's version and sort search results using a schema field. Kishore Nallan provided instructions on both topics, pointing to potential considerations regarding string sorting requirements.