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

Search not working through documents in Slovak language

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.1, 7.1.1
    • Fix Version/s: 7.3-milestone-1, 7.1.3
    • Component/s: Search - Solr
    • Labels:
      None
    • Difficulty:
      Trivial
    • Similar issues:

      Description

      as issue XWIKI-11897, please add also Slovak languge support.
      I posted comment how to do it to XWIKI-11897
      schema.xml:

         <dynamicField name="*_sk"  type="text_sk"    indexed="true"  stored="true" multiValued="true" />
      

      and on the other place

          <!-- Slovak -->
          <fieldType name="text_sk" class="solr.TextField" positionIncrementGap="100">
            <analyzer>
              <tokenizer class="solr.StandardTokenizerFactory"/>
              <filter class="solr.LowerCaseFilterFactory"/>
              <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_sk.txt" />
              <filter class="solr.CzechStemFilterFactory"/>
              <!-- Remove accents -->
              <filter class="solr.ASCIIFoldingFilterFactory"/>
            </analyzer>
          </fieldType>
       

      stopwords_sk.txt can be downloaded from https://github.com/SlovakNationalGallery/elasticsearch-slovencina/blob/master/stop-words/stop-words-slovak.txt

      thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                tomas tomasss
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: