You need to enclose the full URL and parameters in quotes - the & was
interpreted by the command shell.
-- Jack Krupansky
-----Original Message-----
From: nishi
Sent: Monday, January 21, 2013 10:31 AM
To: solr-user@lucene.apache.org
Subject: curl with dynamic url not working
While running the following curl command, the url never went with params
while invoking:
curl
http://127.0.0.1:8080/solr/newsRSS_DIH?command=full-import&clean=false&url=http://www.example.com/news
LOG details:
INFO: [collection1] webapp=/solr path=/newsRSS_DIH
params={command=full-import} status=0 QTime=11
Jan 21, 2013 10:19:14 AM org.apache.solr.handler.dataimport.DataImporter
doFullImport
If I run the command in browser without curl, it works as expected and
indexed properly. Please let me know any pointer to resolve this issue.
--
View this message in context:
http://lucene.472066.n3.nabble.com/curl-with-dynamic-url-not-working-tp4035092.html
Sent from the Solr - User mailing list archive at Nabble.com.