Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11330

Solr arabic search

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: query parsers
    • Labels:
      None

      Description

      In solr search I want to search with product name using Arabic letters.
      While searching, Arabic user can feel little default to search some product
      name. Because some characters need to be exactly mentioned while searching such as (أ، إ، آ) A character in Arabic.

      Ex: إ أ آ

      In the above mentioned characters, user can get combination of shift key.
      Usually if Arabic people will mention “ ا “ character and will get the
      below combined words as the difference is only in pronunciation .

      Ex: إبرا

      For Arabic text indexing & querying we configured Schema.xml as it below:

      <fieldType name="text_ar" class="solr.TextField" positionIncrementGap="100">
      <analyzer type="query">
      <tokenizer class="solr.StandardTokenizerFactory"/>
      <!-- for any non-arabic -->
      <filter class="solr.LowerCaseFilterFactory"/>
      <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ar.txt" />
      <!-- normalizes ﻯ to ﻱ, etc -->
      <filter class="solr.ArabicNormalizationFilterFactory"/>
      <filter class="solr.ArabicStemFilterFactory"/>
      </analyzer>
      </fieldType>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mohanmca01 mohanasundaram
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: