Add methods to control runtime behaviour of NutchBean
-----------------------------------------------------
Key: NUTCH-376
URL: http://issues.apache.org/jira/browse/NUTCH-376
Project: Nutch
Issue Type: Improvement
Affects Versions: 0.8.1
Reporter: Sami Siren
Assigned To: Sami Siren
Currently in order to activate new index on SearchServer one needs to stop +
start the searchServer (or tomcat/webapp if running in non distributed mode).
To ease up this maintenance(scriting) burden we should add new methods to api
so that we can control the behaviour while searchserver / nutchbean is "online".
I propose we add atleast the following method to api:
public void switchIndex(String dir)
This command will close current index and open new one from specified location
We could even create a small admin web-ui to control this behavior via browser.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira