Running crawls with different configurations

View: New views
1 Messages — Rating Filter:   Alert me  

Running crawls with different configurations

by Fabrice EstiƩvenart-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm running crawls from Nutch Java classes (Injector, ...) but I'd like
using different conf directory according to my crawls.

I'm trying this but it fails:

System.setProperty("NUTCH_CONF_DIR", "/project/conf");
Configuration conf = NutchConfiguration.create();

Could you please help me ? Thanks.

Fabrice