Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18396

Polish content is not supported by the Solr search

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • Search - Solr
    • Unknown

    Description

      I'm opening this ticket regarding the issue that currently, Polish pages are not shown in Search Suggest.

      From an old thread: http://lists.xwiki.org/pipermail/users/2016-April/032680.html it is mentioned that "The problem is that the Polish documents are not properly indexed because the default Solr's schema.xml doesn't include configuration for the Polish language." mflorea confirmed that there is no pl in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-core/src/main/resources/conf/managed-schema#L261 so the issus is still present.

      A suggestion coming from enygma: there is an extra jar that needs to be added explicitly (i.e. some jars to be added, schema.xml to be updated and content to be indexed) https://lucene.apache.org/solr/guide/8_8/language-analysis.html#polish also described in https://gist.github.com/pslusarz/ed0c46d4cecf496da2be (might be outdated, but describes the general idea).

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              AndreeaChirica Andreea Chirica
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: