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.
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
Just be sure to download the correct binary for your version of Windows. Then
unzip the file somewhere and add curl.exe to your PATH. It should then just
work from the command line like the examples. If you need more curl help, you
might need to ask elsewhere.
With curl you can upload
On Wed, Jan 4, 2012 at 10:57 PM, dsy99 ds...@rediffmail.com 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
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
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