Hi,

how do i set up a specific crawldb in my own Java App?

I tried to do it like the following snip:

     Configuration nutchConf  = NutchConfiguration.create();
//nutchConf.addResource(new Path(prop.getProperty("nutchPath"))); Path configPath = new Path("/cygdrive/f/Workspaces/Nutch_trunk_searcher/conf/nutch-site.xml");
     nutchConf.addResource(configPath);

But it doesn't work.

Can somebody give me a hint?

Thx Philippe

Reply via email to