lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Albela Miranda <alb...@3.14financial.com>
Subject Re: Searching with accents
Date Thu, 01 Feb 2007 17:34:14 GMT
Yonik Seeley wrote:
> On 2/1/07, Manuel Albela Miranda <albela@3.14financial.com> wrote:
>> Yes, i was considering that, but there is a problem. If i remove the
>> accents into the index, when i get the results of a search they will not
>> have those accents so results will no be good enough.
>
> Stored fields aren't altered, so you will still get the accents back.
> Just use the accent filter, re-index your collection, and then
> everything should be OK.
>
> -Yonik
>
>
> .
>
Hi Yonik,


I've never indexed with solr, so the only way to get what i want is to re-index using Solr
with the next lines:

<fieldtype name="stringSimilar" class="solr.TextField"
> positionIncrementGap="100">
>       <analyzer type="index">
>         <tokenizer class="solr.LowerCaseTokenizerFactory"/>
>         <filter class="solr.ISOLatin1AccentFilterFactory"/>
>       </analyzer>

Hope this works. Thank you!

Regards

Manu.


Mime
View raw message