This should be possible with the latest version nutch 0.8 you may need build from sources. There nutchConf is not static anymore and you can pass it down the stack. Beside that you my need to store the Nutchbean not as context attribute but in a hashmap that is stored as content attribute. What I try to say is, take care that you do not open to many Nutchbean in your application.
Stefan

Am 23.02.2006 um 17:06 schrieb Laurent Michenaud:

Is it possible to manage severals NutchConf in only one webapp  ?





My situation :

Inside my webapp, I can manage severals web sites with differents urls.

I want to have a search engine per web site, so I need to have

one NutchBean per web site and one NutchConf per web site.



I have looked at the NutchBean and the NutchConf and I have seen that :



public class NutchConf {



private static final NutchConf DEFAULT = new NutchConf();



/** Return the default configuration. */

public static NutchConf get() { return DEFAULT; }





This code tells me that I can have only one NutchConf in my webapp.



Any solution for me ?














---------------------------------------------
blog: http://www.find23.org
company: http://www.media-style.com




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to