Hello!

Try surrounding you URL with ' characters, so the whole command looks
like this:

curl
'http://127.0.0.1:8080/solr/newsRSS_DIH?command=full-import&clean=false&url=http://www.example.com/news'


-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

> 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.

Reply via email to