lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Pablo Mora <jua...@informa.es>
Subject RE: problems with search in solr
Date Thu, 22 Mar 2012 14:09:23 GMT
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.pina@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.Pina@carm.es<mailto:Rafael.Pina@carm.es>
==================================


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message