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

CrawlDbReader: use setFloat to pass min score

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.10
    • Component/s: crawldb
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The float value "min" score in the CrawlDbTopNMapper is passed via property "db.reader.topn.min" as a long (multiplied by 1Mio.). The comment "no setFloat() in the API" is no longer valid, the method exists in Configuration and should be used. Reported by Lewis John McGibbney, see NUTCH-1857.

        Attachments

        1. NUTCH-1867-v1.patch
          1 kB
          Sebastian Nagel

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snagel Sebastian Nagel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: