Hi,

My guess is you haven't reindexed after changing filter configuration, which is 
required for index-time filters.

Regarding your fieldType, you can drop the lowercase and ASCII folding filters 
and just keep the ICU folder, it will work for pretty much any character set. 
It will normalize case, Scandinavian digraphs (AE), probably Dutch digraphs 
(IJ) as well. But also deal with German oe ├╝, ringel s and all regular Latin 
accents including Spanish tilde ~, circumflex etc.

If a there is a language specific normalizer/folder, use that instead of ICU 
because there can be differences in how accents should be normalized across 
languages.

And do not forget to reindex and use the same normalizers index- and query-time.

Regards,
Markus

 
 
-----Original message-----
> From:Rushi <rushikeshmod...@gmail.com>
> Sent: Tuesday 13th February 2018 19:40
> To: user@nutch.apache.org
> Subject: Search with Accent and without accent Character
> 
> Hello All,
> I integrated Nutch with solr ,everything seems to be fine till now, i am
> having a issue while searching some spanish accent characters,the search
> results are not same,with accent (Example :investigaci├│n) gives correct
> result  but without accent(example :investigacion) gives zero results.
> I tried using  various filters but still the issue is same.Here is my
> configuration on nutch and solr.
> 
> 
>  <fieldType name="text_es" class="solr.TextField"
> positionIncrementGap="100">
>     <analyzer type="index">
>         <tokenizer class="solr.StandardTokenizerFactory"/>
>         <filter class="solr.ICUFoldingFilterFactory" />
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <filter class="solr.ASCIIFoldingFilterFactory"/>
>         <filter class="solr.EdgeNGramFilterFactory" minGramSize="3"
> maxGramSize="50" side="front"/>
>     </analyzer>
>     <analyzer type="query">
>         <tokenizer class="solr.StandardTokenizerFactory"/>
>         <filter class="solr.ICUFoldingFilterFactory" />
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <filter class="solr.ASCIIFoldingFilterFactory"/>
> 
>     </analyzer>
>   </fieldType>
> 
> I would really appreciate if  anyone of you can  tell me what i am missing?
> -- 
> Regards
> Rushikesh M
> .Net Developer
> 

Reply via email to