Or if you still want to have stemming, you could use a Spanish stemmer,
like:

<filter class="solr.SnowballPorterFilterFactory" language="Spanish"/>
or
<filter class="solr.SpanishLightStemFilterFactory"/>

Tomás

On Thu, Mar 22, 2012 at 11:09 AM, Juan Pablo Mora <jua...@informa.es> wrote:

> Remove the stemmer filter. "Caso" and "casa" are transformed into "cas" if
> you use the stemmer filter.
>
> En español:
> Quita el filtro de stemmer, que se usa para sacar la raiz de las palabras,
> pero en tu caso la raíz de "casa" y "caso" es la misma, "cas".
>
> Un saludo.
>
> ________________________________
> De: PINA CORONADO, RAFAEL [rafael.p...@carm.es]
> Enviado el: jueves, 22 de marzo de 2012 13:38
> Para: solr-user@lucene.apache.org
> Asunto: problems with search in solr
>
> Good morning:
> I have problems with the results obtained Solr search string (eg caso). Me
> back records with similar terms (in this example would return the same as
> if looking casa).
> The 1.4.1 version of Solr is
> The definition of type text in the file schema.xml is:
>
> <fieldtype name="text" class="solr.TextField">
>  <analyzer>
>    <charFilter class="solr.HTMLStripCharFilterFactory"/>
>    <charFilter class="solr.MappingCharFilterFactory"
> mapping="mapping-ISOLatin1Accent.txt"/>
>    <tokenizer class="solr.StandardTokenizerFactory"/>
>    <filter class="solr.LowerCaseFilterFactory"/>
>    <filter class="solr.StopFilterFactory"/>
>    <filter class="solr.PorterStemFilterFactory"/>
>  </analyzer>
> </fieldtype>
>
> Could you tell if an error in the configuration and how to solve it.
>
> thanks
>
> =================================
> Rafael Pina Coronado
> Servicio de Informática.
> Archivo General de la Región de Murcia
> Email: rafael.p...@carm.es<mailto:rafael.p...@carm.es>
> ==================================
>
>

Reply via email to