Hi Roman,
What you are experiencing is a OK and known. Stemming and wildcard searches could be counter intuitive sometimes. But luckily remedy is available. Use the following filters, and your wildcard searches will be happy. Please not that this change will require solr-restart and re-index. <filter class="solr.KeywordRepeatFilterFactory"/> <filter class="solr.SpanishLightStemFilterFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> Regarding diacritics, please see http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ASCIIFoldingFilterFactory and http://wiki.apache.org/solr/MultitermQueryAnalysis Ahmet On Monday, May 5, 2014 2:01 PM, Román González <rgonza...@normagricola.com> wrote: Hi all! Sorry in advance if this question was posted but I were unable to find it with search engines. Filter SpanishLightStemFilterFactory is not working properly with wildcards or I’m misunderstanding something. I have the field <field name="cultivo_es" type="text_es" indexed="true" stored="true" /> With this type: <fieldType name="text_es" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_es.txt" format="snowball" /> <filter class="solr.SpanishLightStemFilterFactory"/> <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Spanish"/> --> </analyzer> </fieldType> But I’m getting these results: q = cultivo_es:uva Getting 50 correct results q = cultivo_es:uva* Getting the same 50 correct results q = cultivo_es:naranja Getting the 50 correct results of “naranja” q = cultivo_es:naranja* Getting the 0 results !!!!!!!!! It works fine if I remove SpanishLightStemFilterFactory filter, but I need it in order to filter diacritics according to Spanish rules. Thank you!!