lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuesong Luo" <x...@successfactors.com>
Subject webapp_name in commit and optimize
Date Fri, 06 Jul 2007 17:26:48 GMT
Hi, 
I deployed solr web app with a different name then found commit does not
work. When I looked at the code, I saw variable webapp_name is populated
but not used. It always uses solr as the web app name. optimize has the
same problem. Is this a known bug? 

Wrong:
rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d
"<commit/>"`

Correct:
rs=`curl http://${solr_hostname}:${solr_port}/${webapp_name}/update -s
-d "<commit/>"`


Thanks
Xuesong



Mime
View raw message