I need to verify that text extraction is working on my Solr installation on Windows Server 2003. All the examples I found for uploading files to Solr use curl like below.
curl "http://localhost:8983/solr/update/extract?&extractOnly=true" --data-binary @tutorial.html -H 'Content-type:text/html'
How can I do this in Windows? I want to test upload a pdf and Word document then confirm I can search for words contained in the document using Solr admin page.
With the examples comes a
post.jar(see folderexample\exampledocsof theapache-solr-X.X.X.zip):java -jar post.jar -hOR
The Windows PowerShell 3.0 has an
Invoke-WebRequestcommand which for sure could be used for that. See this blog post.