On Fri, Feb 5, 2010 at 4:00 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > I test query this query string  on SOLR web
> > application : all:chateau.
> > Results (content of the field "all")  :
> >   CHATEAU D'AMBOISE
> >   [CHATEAU EN FRANCE, BABELON]
> >   ope dvd rene chateau
> >   CHATEAU DE LA LOIRE
> >   DE CHATEAU EN CHATEAU ENTRE LA LOIRE ET LE CHER
> >   [LE CHATEAU AMBULANT, HAYAO MIYAZAKI]
> >   [Chambres d'hôtes au château, Moreau]
> >   [ARCHIMEDE, LA VIE DE CHATEAU, KRAHENBUHL]
> >   [NEUF, NAISSANCE D UN CHATEAU FORT, MACAULAY]
> >   [ARCHIMEDE, LA VIE DE CHATEAU, KRAHENBUHL]
> >
> > Now i try this query string : all:château.
> > No result :(
> >
> > I don't understand. I think the second query respond the
> > same result of the
> > first query but it is not the case.
>
> Probably château isn't reduced to chateau. You can confirm this by
> /admin/anaysis.jsp.
>
> If thats the case you can use :
>
> <charFilter class="solr.MappingCharFilterFactory"
> mapping="mapping-ISOLatin1Accent.txt"/>
>
> If mapping-ISOLatin1Accent.txt does not contain â, you can easily add this
> entry to it. â => a
>
>
château is reduce to chateau. I test it on /admin/anaysis.jsp, result :
Index Analyzer  château  chateau  chateau Query Analyzer  château  chateau
 chateau


-- 
Yann

Reply via email to