Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2461

Generate passes the data to when maxCount == 0

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.14
    • Fix Version/s: 1.14
    • Component/s: generator
    • Labels:
      None

      Description

      The generator checks condition
      if (maxCount > 0) : line 421 and stop the generation when amount per host exceeds maxCount( continue : line 455)
      but when maxCount == 0 it goes directly to line 465 :output.collect(key, entry);

      It is obviously not correct, the correct solution would be to add
      if(maxCount == 0)

      { continue; }

      at line 380.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              semyon.semyonov@mail.com Semyon Semyonov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development