Apache Nutch is an extensible and scalable web crawler
Set the configuration early - updateSegments() needs it. Noticed by Heiko Dietze.
Andrzej Bialecki29541bb7af3a
diff --git a/src/java/org/apache/nutch/searcher/DistributedSearch.java b/src/java/org/apache/nutch/searcher/DistributedSearch.javaindex 2d77bba70..839943f0f 100644--- a/src/java/org/apache/nutch/searcher/DistributedSearch.java+++ b/src/java/org/apache/nutch/searcher/DistributedSearch.java@@ -117,11 +117,11 @@ public class DistributedSearch {/** Construct a client talking to the named servers. */public Client(InetSocketAddress[] addresses, Configuration conf) throws IOException {+ this.conf = conf;this.defaultAddresses = addresses;updateSegments();setDaemon(true);start();- this.conf = conf;}private static final Method GET_SEGMENTS;