lucene-general 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 Mon, 30 Jan 2017 17:21:45 GMT
Hi Mohan,

I answered your question on the solr-user list.  Did you see my response?

I CC’d you on this email, but you should know that Apache mailing lists won’t automatically
send you email unless you have subscribed to the list.  For more information, see <http://lucene.apache.org/solr/community.html#mailing-lists-irc>.

--
Steve
www.lucidworks.com

> On Jan 29, 2017, at 2:16 PM, mohan sundaram <mohanmca01@gmail.com> wrote:
> 
> Hi,
> 
> 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 mention while searching.
> 
> 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.
> 
> Ex: إبرا
> 
> 
> In my solr schema.xml I defined product arabic name field as below
> 
> 
> <field name="productNameArabic" type="text_ar" indexed="true"
> stored="true"/>
> 
> 
>  <fieldType name="text_ar" class="solr.TextField"
> positionIncrementGap="100">
> 
>      <analyzer>
> 
>        <tokenizer class="solr.StandardTokenizerFactory"/>
> 
>        <filter class="solr.LowerCaseFilterFactory"/>
> 
>        <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="lang/stopwords_ar.txt" />
> 
>        <filter class="solr.ArabicNormalizationFilterFactory"/>
> 
>        <filter class="solr.ArabicStemFilterFactory"/>
> 
>      </analyzer>
> 
>    </fieldType>
> 
> 
> 
> What changes I have do in schame.xml. Please help me on this.
> 
> 
> 
> --
> Regards,
> Mohan.N
> 096896429683


Mime
View raw message