There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-eb8b62f1-2ef6-4524-b04e-77261447af6a XWIKI-18396 Open

Polish pages cannot be found in Search Suggest

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-a35b485f-5108-4f7b-a905-ecff13b8fd2b Nikita Petrenko on 04/Jun/25 17:56
 

The URL in description is invalid, so Polish language exists in managed-schema.xml. However, enabling the Polish language (Polski (Polska) Polish (Polska)) and translating or creating page with a Polish word (e.g. drzewo), Solr suggestions and search, will not find this page.

As described indeed it requires additional set-up on XWiki side:

  • Polish dict in xml file (similar to Ukranian) in distribution xml
  • Updated database schema with usage of dictionary new tags <analyzer> (similar to Ukranian, Slovak and etc languages)

After that, XWiki's embedded Solr will have no problems searching in Polish.

 
cid:jira-generated-image-avatar-a35b485f-5108-4f7b-a905-ecff13b8fd2b Nikita Petrenko on 04/Jun/25 17:58
 
The URL in description is invalid, so Polish language exists in [managed-schema.xml|https://github.com/xwiki/xwiki-platform/blob/f9c5a4e19a3191868c960bb4f18cdeb1e851b818/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-core-search/src/main/resources/conf/managed-schema.xml#L1139-L1147]. However, enabling the Polish language (Polski (Polska) Polish (Polska)) and translating or creating page with a Polish word (e.g. drzewo), Solr suggestions and search, will not find this page.

As described indeed it requires additional set-up on XWiki side:

* Polish dict in xml file (similar to [Ukranian|https://github.com/xwiki/xwiki-platform/blob/f9c5a4e19a3191868c960bb4f18cdeb1e851b818/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-core-search/pom.xml#L51]) in [distribution xml|https://github.com/xwiki/xwiki-platform/blob/f9c5a4e19a3191868c960bb4f18cdeb1e851b818/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-core-search/src/main/assembly/distribution.xml#L43]
* Updated database schema with usage of dictionary new tags <analyzer> (similar to Ukranian, Slovak and etc languages)

After that, XWiki's embedded Solr will have no problems searching in Polish.

Sidenote, maybe it can be renamed and updated to similar others issue (i.e [XWIKI-18409|https://jira.xwiki.org/browse/XWIKI-18409]).