Hi, Even after setting the URIEncoding="UTF-8" in the tomcat /conf/server.xml, indexing and search of Hindi characters doesn't work. The output furnished below:
<?xml version="1.0" encoding="UTF-8" ?> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <response> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <lst name="*responseHeader*"> * * <int name="*status*">*0*</int> * * <int name="*QTime*">*11*</int> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <lst name="*params*"> * * <str name="*indent*">*on*</str> * * <str name="*start*">*0*</str> * * <str name="*q*">*acc_no: H-100*</str> * * <str name="*rows*">*10*</str> * * <str name="*version*">*2.2*</str> * * </lst> * * </lst> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <result name="*response*" numFound="*1*" start="*0*"> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <doc> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <arr name="*acc_no*"> * * <str>*H-100*</str> * * </arr> * * <str name="*add_author*" /> * * <str name="*author*">*विनोद कà¥à¤®à¤¾à¤° मिशà¥à¤° MISHRA (VK)*</str> * * <int name="*bibid*">*26913*</int> * * <str name="*call_nmbr*">*BYC,EA1-Ha P04*</str> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <arr name="*collection*"> * * <str>*Hindi Books*</str> * * </arr> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <arr name="*copyid*"> * * <int>*1*</int> * * </arr> * * <str name="*corp_author*" /> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <arr name="*currency*"> * * <str>*RS*</str> * * </arr> * * <str name="*edition*" /> * * <str name="*floor*">*FOSTIS-II Floor*</str> * * <str name="*id*">*26913*</str> * * <str name="*isbn_issn*" /> * * <str name="*material_type*">*Books*</str> * * <str name="*pages*">*139*</str> * * <float name="*price*">*150.0*</float> * * <str name="*price_c*">*150.00,USD*</str> * * <str name="*publication_dt*">*2004*</str> * * <str name="*publication_loc*">*नई दिलà¥à¤²à¥€ New Delhi*</ str> * * <str name="*publisher*">*गà¥à¤°à¤‚थ अकादमी Granth Akademi*</str> * * <str name="*rackno*">*Hindi*</str> * * <str name="*responsibility_stmt*">*विनोद कà¥à¤®à¤¾à¤° मिशà¥à¤° MISHRA (VK)*</str> * * <str name="*series*" /> * * <str name="*series_no*" /> *-*<http://192.168.0.132:8080/solr/select/?q=acc_no%3A+H-100&version=2.2&start=0&rows=10&indent=on#> <arr name="*status*"> * * <str>*On Shelf*</str> * * </arr> * * <str name="*title*">*सौर ऊरà¥à¤œà¤¾ Saur oorja*</str> * * <str name="*topic*">*Solar Energy, Astrophysics, Astrophysics, Solar Energy, Energy, Astrophysics*</str> * * <str name="*vol_no*" /> * * <str name="*wing*">*East Wing*</str> * * </doc> * * </result> * * </response> Pleased help me in sorting out this problem. Sanjailal KP -- On Fri, May 18, 2012 at 4:05 PM, KP Sanjailal <kpsanjai...@gmail.com> wrote: > Thank you for your guidance. Actually, I am using Apache Solr with jetty > 5.1. I will try to setup solr using tomcat incorporating the configuration > suggested below by you. > > Thank you > > Sanjailal K P > -- > > On Thu, May 17, 2012 at 7:24 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > >> > A search with keyword in Hindi retrieve emptly result >> > set. Also a >> > retrieved hindi record displays junk characters. >> >> Could it be URIEncoding setting of your servlet container? >> http://wiki.apache.org/solr/SolrTomcat#URI_Charset_Config >> > >