You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Xuesong Luo <xl...@successfactors.com> on 2007/07/06 19:26:48 UTC

webapp_name in commit and optimize

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



Re: webapp_name in commit and optimize

Posted by Chris Hostetter <ho...@fucit.org>.
: but not used. It always uses solr as the web app name. optimize has the
: same problem. Is this a known bug?

which version of Solr are you using?  1.2 added a new webapps_name option.



-Hoss