You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Jeff Ritchie <jr...@netwurklabs.com> on 2006/03/07 05:09:05 UTC
db.score.injected
Developers...
Is the configuration property <db.score.injected> still used?
If so in which source file is it used?
I can't seem to find where it is used in the source anywhere.
Line 70 org.apache.nutch.crawl.Injector.java
if (url != null) { // if it passes
value.set(url); // collect it
-> output.collect(value, new
CrawlDatum(CrawlDatum.STATUS_DB_UNFETCHED,
interval));
}
Should that be:
-> output.collect(value, new CrawlDatum(CrawlDatum.STATUS_DB_UNFETCHED,
interval,jobConf.getFloat("db.score.injected",1.0f)));
Jeff
Re: db.score.injected
Posted by Jeff Ritchie <jr...@netwurklabs.com>.
Thanks Andrzej.
Jeff
Andrzej Bialecki wrote:
> Jeff Ritchie wrote:
>> Developers...
>>
>> Is the configuration property <db.score.injected> still used?
>> If so in which source file is it used?
>> I can't seem to find where it is used in the source anywhere.
>>
>> Line 70 org.apache.nutch.crawl.Injector.java
>> if (url != null) { // if it passes
>> value.set(url); // collect it
>> -> output.collect(value, new
>> CrawlDatum(CrawlDatum.STATUS_DB_UNFETCHED,
>> interval));
>> }
>>
>> Should that be:
>> -> output.collect(value, new CrawlDatum(CrawlDatum.STATUS_DB_UNFETCHED,
>>
>> interval,jobConf.getFloat("db.score.injected",1.0f)));
>>
>
> Yes, that's correct. This will be fixed together with the adaptive
> refetch patches.
>
Re: db.score.injected
Posted by Andrzej Bialecki <ab...@getopt.org>.
Jeff Ritchie wrote:
> Developers...
>
> Is the configuration property <db.score.injected> still used?
> If so in which source file is it used?
> I can't seem to find where it is used in the source anywhere.
>
> Line 70 org.apache.nutch.crawl.Injector.java
> if (url != null) { // if it passes
> value.set(url); // collect it
> -> output.collect(value, new
> CrawlDatum(CrawlDatum.STATUS_DB_UNFETCHED,
> interval));
> }
>
> Should that be:
> -> output.collect(value, new CrawlDatum(CrawlDatum.STATUS_DB_UNFETCHED,
>
> interval,jobConf.getFloat("db.score.injected",1.0f)));
>
Yes, that's correct. This will be fixed together with the adaptive
refetch patches.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com