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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • nutchgora
    • generator
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: