I quess the simplest way to do it is just copy the nutch-war-file under <TOMCAT>/webapps with two different names (search1.war and search2.war) then after tomcat has extracted the archives edit file <TOMCAT>/webapps/search1/WEB-INF/classes/nutch-site.xml and change searcher.dir to point to correct directory.

For the other instance the configuration file is <TOMCAT>/webapps/search2/WEB-INF/classes/nutch-site.xml
--
Sami Siren

Honda-Search Administrator wrote:

the two different web applications is really no big deal. Is it possible that I could be pointed in the right direction or setting this up? Someone else setup nutch/tomcat/java for me so I am not exactly sure where I would set up the virtual host or where a config file would exist that would point to the database path.

Matt

----- Original Message ----- From: "Sami Siren" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 28, 2006 9:23 AM
Subject: Re: running multiple instances of nutch at once on the same codebase


Honda-Search Administrator wrote:


 Let's say I want to run 2 search engines on the same server. For
 search engine one I use the database "crawl" and for the second
 search engine I use "crawl2" as the database

 For accessing the content could I use different ports for each
 engine? engine one will be localhost:8080 and engine two will be
 localhost:8081

 Just asking if this is possible.


Yes this is possible. You can use different ports or different virtual
host or different context path to separate the two ui's. You still need to have two separate web applications with two separate configurations (pointing to two separate directories)

--
Sami Siren






Reply via email to