You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/10/03 10:08:34 UTC

[jira] [Commented] (NUTCH-1867) CrawlDbReader: use setFloat to pass min score

    [ https://issues.apache.org/jira/browse/NUTCH-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157783#comment-14157783 ] 

Lewis John McGibbney commented on NUTCH-1867:
---------------------------------------------

+1 on this,.
Nit pick, do we need to state on the conf property description that this is of type float? or is this not required?

> CrawlDbReader: use setFloat to pass min score
> ---------------------------------------------
>
>                 Key: NUTCH-1867
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1867
>             Project: Nutch
>          Issue Type: Improvement
>          Components: crawldb
>    Affects Versions: 1.9
>            Reporter: Sebastian Nagel
>            Priority: Trivial
>             Fix For: 1.10
>
>         Attachments: NUTCH-1867-v1.patch
>
>
> 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|https://hadoop.apache.org/docs/current/api/org/apache/hadoop/conf/Configuration.html|Configuration] and should be used. Reported by [~lewismc], see NUTCH-1857.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)