Hi Frank,

Have a look at this thread.

http://www.mail-archive.com/[email protected]/msg03014.html

- Ravi

On 3/6/06, Franz Werfel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is it possible to have more than one Nutch "application" on one Nutch
> installation?
>
> What I would like to do would be to have several (4-5) indexes
> relating to independant websites, searchable independently but with
> just one Nutch install (ie, one Tomcat webapp).
>
> On the indexing side, this is easy, since segments can be stored in any 
> folder.
>
> But on the searching side, the index has to be declared in
> {tomcat-webapps}/{nutch-search-app-or-root}/WEB-INF/classes/nutch-site.xml
>
> Obviously if I create several webapps with a different name and I
> duplicate all Nutch files, it would work -- but then I would have 5
> webapps running at the same time, whereas the only thing that differs
> is the index (and headers to identify the site being searched).
>
> Another solution, besides having multiple Nutch webapps, would be to
> have a unique search index, and manage a specific field for the site.
> Then searching for the value of the site being searched, as well as
> the query, would only bring back results pertaining to the appropriate
> site. But I'd rather have multiple independant indexes that can be
> independently indexed or deleted, than one big unique index.
>
> So, I would like to have multiple independant indexes, with just one
> Nutch webapp.
>
> What would be the best solution to this problem?
>
> Thanks, Frank.
>

Reply via email to