Author: ab
Date: Fri Feb 24 02:40:05 2006
New Revision: 380638
URL: http://svn.apache.org/viewcvs?rev=380638&view=rev
Log:
Set the configuration early - updateSegments() needs it.
Noticed by Heiko Dietze.
Modified:
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java
Modified:
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java?rev=380638&r1=380637&r2=380638&view=diff
==============================================================================
---
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java
(original)
+++
lucene/nutch/trunk/src/java/org/apache/nutch/searcher/DistributedSearch.java
Fri Feb 24 02:40:05 2006
@@ -117,11 +117,11 @@
/** 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;
-------------------------------------------------------
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-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-cvs