On Jan 31, 2008 8:20 AM, shenzhuxi <[EMAIL PROTECTED]> wrote: > > curl %solr_home% --data-binary "<commit/>" -H "Content-type:text/xml; > charset=utf-8" > > It doesm't work to update. I have to restart solr to make update work. Do I > need to use: > > curl %solr_home% --data-binary "<commit waitFlush="false" > waitSearcher="false"/>" -H "Content-type:text/xml; charset=utf-8"
No, the params to commit are optional. What is %solr_home%... it should be the URL of the update handler: http://localhost:8983/solr/update And if you are familiar with UNIX, I'd advise downloading and working in something like cygwin to get the same environment. -Yonik