[ 
https://issues.apache.org/jira/browse/NUTCH-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrzej Bialecki  closed NUTCH-223.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Andrzej Bialecki 

> 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.

Reply via email to