I'm not sure what you are planing to do, but you can just switch a symbolic link on your hdd driven by a cronjob to switch between index on a given time.
May be you need to touch the web.xml to restart the searcher.
If you try to search in different kind of indexes at the same time, I suggest to merge the indexes and have a kind keyfield for each of the indexes. For example add a field to each of your indexes names "indexName" and put A, B and C as value into it. Than you can merge your index. During runtime you just need to have a queryfilter that extend a indexName:A or indexName:B to the query string.

Does this somehow help to solve your problem?
Stefan

Am 23.05.2006 um 15:26 schrieb TJ Roberts:

I have five different indexes each with their own special configuration. I would like to be able to switch between the different indexes dynamically on a single instance of nutch running on jakarta-tomcat. Is this possible, or do I have to run five instances of nutch, one for each index?

                
---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice

Reply via email to