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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -