Add quotes around the URL string: curl 'http://localhost:8983/solr/admin/cores?action=mergeindexes&core=core0&indexDir=/opt/solr/core1/data/index&indexDir=/opt/solr/core2/data/index'
On Thu, Mar 4, 2010 at 5:24 PM, Mark Fletcher <mark.fletcher2...@gmail.com> wrote: > Hi, > > Can someone pls suggest how to use this command as a part of linux script: > > * > http://localhost:8983/solr/admin/cores?action=mergeindexes&core=core0&indexDir=/opt/solr/core1/data/index&indexDir=/opt/solr/core2/data/index > * > Will just adding *curl* at the beginning help.. > > I tried this but it gives err:- > *Missing required parameter: core* > ** > Any help is deeply appreciated. > > Thanks and Rgds, > Mark. > -- Lance Norskog goks...@gmail.com