[
https://issues.apache.org/jira/browse/NUTCH-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579734#action_12579734
]
Hudson commented on NUTCH-223:
------------------------------
Integrated in Nutch-trunk #393 (See
[http://hudson.zones.apache.org/hudson/job/Nutch-trunk/393/])
> Crawl.java uses Integer.MAX_VALUE for -topN where Generator.java uses
> Long.MAX_VALUE for -topN
> ----------------------------------------------------------------------------------------------
>
> Key: NUTCH-223
> URL: https://issues.apache.org/jira/browse/NUTCH-223
> Project: Nutch
> Issue Type: Improvement
> Affects Versions: 0.8
> Environment: ALL
> Reporter: Jeff Ritchie
> Assignee: Andrzej Bialecki
> Priority: Trivial
> Fix For: 1.0.0
>
>
> Here is a patch for Crawl.java so that it the default value for -topN is the
> same as Generator.java
> *** Crawl.java Fri Mar 3 23:54:28 2006
> --- fix/Crawl.java Sat Mar 4 19:38:27 2006
> ***************
> *** 59,65 ****
> File dir = new File("crawl-" + getDate());
> int threads = job.getInt("fetcher.threads.fetch", 10);
> int depth = 5;
> ! int topN = Integer.MAX_VALUE;
>
> for (int i = 0; i < args.length; i++) {
> if ("-dir".equals(args[i])) {
> --- 59,65 ----
> File dir = new File("crawl-" + getDate());
> int threads = job.getInt("fetcher.threads.fetch", 10);
> int depth = 5;
> ! int topN = Long.MAX_VALUE;
>
> for (int i = 0; i < args.length; i++) {
> if ("-dir".equals(args[i])) {
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.