RE: How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread Dyer, James
solr-user@lucene.apache.org Subject: RE: How to index documents in SOLR running in Window XP envronment Dear James, Can you please list the steps to be followed to execute curl for indexing files in SOLR, after downloading it from the site "http://curl.haxx.se/download.html";. Afte

Re: How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread Dan McGinn-Combs
Look in the Example directory for a POST.SH and POST.JAR. These could be used to do the job on Windows. But to be honest, I didn't have any problems using CURL on Windows. You just have to be careful to double quote rather than single quote and use the right kind of slashes for directories. Dan

Re: How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread dsy99
Dear Gora and all, Thank you very much for replying. My question is how to index documents (.XML, .pdf, .doc files) in Solr. I was trying using curl but it is not working in Windows XP environment. Do any one of you have any ready made program/DIH which I can use to index these types of files. Reg

RE: How to index documents in SOLR running in Window XP envronment

2012-01-04 Thread Dyer, James
I've successfully used the windows distribution of curl from http://curl.haxx.se/download.html for this purpose. This at least works when you put your xml in a text file and then use "curl http://host:port/solr/update -F stream.file=c:\filename.xml" I do not think I was ever able to get "-F s

Re: How to index documents in SOLR running in Window XP envronment

2012-01-04 Thread Sethi, Parampreet
Hi Divakar, If you need to do simple Solr document indexing and know java, You can write a java file along with data bean and use Solrj client for indexing. Here's one simple tutorial: http://www.params.me/2011/09/solrj-code-and-usage-example.html Please provide more details on what you are tryi

Re: How to index documents in SOLR running in Window XP envronment

2012-01-04 Thread Gora Mohanty
On Wed, Jan 4, 2012 at 10:57 PM, dsy99 wrote: > Dear all, > I am facing problem to index data to SOLR running in window XP environment. > Can any one suggest the method similar to "curl" used in Unix environment? I am sorry, but the above makes little sense, and gives people no basis to reply to