This is the response I get...Does it matter that the configuration file is called something other than data-config.xml? After I get this I still have to restart the service. I wonder...do I need to commit the change?
<?xml version="1.0" encoding="UTF-8" ?> -<http://localhost:8983/solr/select?clean=false&commit=true&qt=%2Fdataimport&command=reload-config#> <response> -<http://localhost:8983/solr/select?clean=false&commit=true&qt=%2Fdataimport&command=reload-config#> <lst name="*responseHeader*"> <int name="*status*">0</int> <int name="*QTime*">520</int> </lst> -<http://localhost:8983/solr/select?clean=false&commit=true&qt=%2Fdataimport&command=reload-config#> <lst name="*initArgs*"> -<http://localhost:8983/solr/select?clean=false&commit=true&qt=%2Fdataimport&command=reload-config#> <lst name="*defaults*"> <str name="*config*">./solr/conf/dataimporthandler/rss.xml</str> </lst> </lst> <str name="*command*">reload-config</str> <str name="*status*">idle</str> <str name="*importResponse*">Configuration Re-loaded sucessfully</str> <lst name="*statusMessages*" /> <str name="*WARNING*">This response format is experimental. It is likely to change in the future.</str> </response> On Sun, Dec 19, 2010 at 11:12 PM, Ahmet Arslan <[email protected]> wrote: > > <a href=" > > > http://localhost:8983/solr/select?clean=false&commit=true&qt=%2Fdataimport&command=full-import > ">Full > > Import</a><br /> > > <a href=" > > > http://localhost:8983/solr/select?clean=false&commit=true&qt=%2Fdataimport&command=reload-config > ">Reload > > Configuration</a> > > > > All, > > > > The links above are meant for me to reload the > > configuration file after a > > change is made and the other is to perform the full import. > > My problem is > > that The reload-config option does not seem to be working. > > Am I doing > > anything wrong? Your expertise is greatly appreciated! > > I am sorry, I hit the reply button accidentally. > > Are you receiving/checking the message > <str name="importResponse">Configuration Re-loaded sucessfully</str> > after the reload? > > And are checking that data-config.xml is a valid xml after editing it > programatically? > > And instead of editing data-config.xml file cant you use variable > resolver? http://search-lucene.com/m/qYzPk2n86iI&subj > > > >
