Re: curl with dynamic url not working

2013-01-21 Thread nishi
Thanks. The above issue is resolved by setting the following parameters at solrConfig.xml - simple true 1 6 6 - Regarding any pointer on - cron and the script for making exception handling/robust scheduler would be helpful. Thanks. -- View this message in contex

Re: curl with dynamic url not working

2013-01-21 Thread nishi
Thanks for the advice, I followed all the pointers mentioned: curl 'http://127.0.0.1:8080/solr/newsRSS_DIH?command=full-import&clean=false&commit=true&url=http://www.example.com/news' Now, I got the following error: Jan 21, 2013 10:53:02 AM org.apache.solr.core.SolrDeletionPolicy updateCommits

Re: curl with dynamic url not working

2013-01-21 Thread Jack Krupansky
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 th

Re: curl with dynamic url not working

2013-01-21 Thread Rafał Kuć
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 - ElasticSearc

RE: curl with dynamic url not working

2013-01-21 Thread Markus Jelsma
Note the HTML entities in the URL? They should not be there. Your URL is interpreted as if amp;clean=false is a parameter. -Original message- > From:nishi > Sent: Mon 21-Jan-2013 16:39 > To: solr-user@lucene.apache.org > Subject: curl with dynamic url not working > > While running t