Not able to search Spanish word with accent in solr -
i have install solr 3.5 search words(spanish words) enseñé étnico castaño después
with ascent ñ,é etc.
but solr not search such words index. have used
<!-- spanish --> <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" enablepositionincrements="true"/> <filter class="solr.spanishlightstemfilterfactory"/> <!-- more aggressive: <filter class="solr.snowballporterfilterfactory" language="spanish"/> --> </analyzer> </fieldtype>
like :
<field name="name" type="text_es" indexed="true" stored="true"/> <field name="features" type="text_es" indexed="true" stored="true" multivalued="true"/>
but still not able search spanish word ascent..
please let me know if missing anything?
thanks
you can check solr analyzer how query , indexed content analyzed:
http://192.168.0.1:8080/solr/#/your_core_name/analysis
do do:
/select?q=name:castaño
Comments
Post a Comment