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

Search not working through documents in Slovak language

    XMLWordPrintable

Details

    • Trivial

    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

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

              Dates

                Created:
                Updated:
                Resolved: