Loading...
 
Skip to main content

Tiki search using Elasticsearch engine should work with other language than English

Status
Open
Subject
Tiki search using Elasticsearch engine should work with other language than English
Version
master
Category
  • Usability
  • Feature request
Feature
Search
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Elasticsearch enhanced version supports 30+ languages including:
European: English, German, French, Spanish, Italian, Portuguese, Dutch, Russian, Norwegian, Swedish, Finnish, Danish
Middle Eastern: Arabic, Turkish, Persian
Asian: Chinese, Japanese, Korean, Thai
Eastern European: Bulgarian, Czech, Hungarian, Romanian, Lithuanian, Latvian

Tiki search using Elasticsearch engine work with English stemmer.
See private function getIndexDefinition() at : lib/core/Search/Elastic/Index.php

Due to this, search results for Tiki Wiki website using other languages like German doesn't output expected results.
With an item title "Diplomatie"
"Diplomat" or "Diplomatie " (with an extra space) are found while "Diplomatie" is not found.

Tiki should be able to use the correct stemmer based on the language content.
There should be an automatic language detection to select the relevant stemmer using the $prefs'language' (the current site language) with a manual override using a new pref in the Search control Panel : $prefs'unified_search_language' (if you want search language different from site language)

Fallback: Defaults to English if nothing is set

For Multilingual Sites we may need to detect language per document.

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8831
Created
Thursday 25 September, 2025 13:53:20 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 25 September, 2025 13:53:20 UTC


Show PHP error messages