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

CrawlDbReader: use setFloat to pass min score

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9
    • 1.10
    • crawldb
    • None
    • 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 lewismc, see NUTCH-1857.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: