Thanks for the replies, I have now tried using cygwin and the result was this:
Posting file C:\apache-solr-1.1.0-incubating\example\exampledocs\solr.xml to htt p://localhost:8983/solr/update /cygdrive/c/apache-solr-1.1.0-incubating/example/exampledocs/post.sh: line 22: c url: command not found /cygdrive/c/apache-solr-1.1.0-incubating/example/exampledocs/post.sh: line 27: c url: command not found Any ideas? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bertrand Delacretaz Sent: 14 February 2007 11:29 To: solr-user@lucene.apache.org Subject: Re: Using solr on windows On 2/14/07, Kainth, Sachin <[EMAIL PROTECTED]> wrote: > ...The problem is that the tutorial seems to suggest that you need > Unix to run solr... Solr itself should run fine on Windows, but you're right that most or all of the scripts provided with Solr require a unixish shell. Installing cygwin should allow you to run those scripts directly, but if it's just to run the post.sh script, you can use any tool (wget, curl) that can do a POST, and those are available for windows (at least wget, and recent version can POST). Just look at post.sh to see how curl is called, using similar under Windows should work. It'd be cool to have a Windows (or Java) version of post.sh, as IIUC this is the only thing that prevents Windows users from trying Solr in 10 minutes. If someone wants to write that I'm sure we'd be happy to integrate it in the codebase. -Bertrand This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150) This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. The ultimate parent company of the Atkins Group is WS Atkins plc. Registered in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW. Consider the environment. Please don't print this e-mail unless you really need to.