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

Check if limit has been reached in GeneraterReducer must be the first check performance-wise.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: nutchgora
    • Component/s: generator
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The (count >= limit) should be put up front in the reduce method of the generator, because that way when the limit is reached the reduce method will return faster.

        Attachments

        1. NUTCH-1279.txt
          0.8 kB
          Ferdy

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ferdy.g Ferdy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: