lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Rowe <sar...@gmail.com>
Subject Re: Arabic words search in solr
Date Wed, 15 Feb 2017 13:59:23 GMT
Hi Mohan,

When I said "the ICU folding filter should be the last filter, to allow the Arabic normalization
and stemming filters to see the original words”, I meant that no filter should follow it.
 

You did not make that change.

Here’s what I mean:

   <fieldType name="text_ar" class="solr.TextField" positionIncrementGap="100">
     <analyzer> 
       <tokenizer class="solr.StandardTokenizerFactory"/>
       <filter class="solr.StopFilterFactory" ignoreCase="true"
words="lang/stopwords_ar.txt" />
       <filter class="solr.ArabicNormalizationFilterFactory"/>
       <filter class="solr.ArabicStemFilterFactory"/>
       <filter class="solr.ICUFoldingFilterFactory"/>
     </analyzer>
   </fieldType>

--
Steve
www.lucidworks.com

> On Feb 15, 2017, at 12:23 AM, mohanmca01 <mohanmca01@gmail.com> wrote:
> 
> Hi Steve,
> 
> As per your suggestion,I added ICUFoldingFilterFactory in schema.xml as
> below:
> 
> <fieldType name="text_ar" class="solr.TextField" positionIncrementGap="100">
>      <analyzer> 
>        <tokenizer class="solr.StandardTokenizerFactory"/>
>        <filter class="solr.ICUFoldingFilterFactory"/>
>        <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="lang/stopwords_ar.txt" />
>        <filter class="solr.ArabicNormalizationFilterFactory"/>
>        <filter class="solr.ArabicStemFilterFactory"/>
>      </analyzer>
>    </fieldType>
> 
> I attached expecting result document in previous mail thread for your
> references.
> 
> Kindly check and let me know.
> 
> Thanks
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Arabic-words-search-in-solr-tp4317733p4320427.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message