You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Stefan Groschupf <sg...@media-style.com> on 2006/07/16 00:36:47 UTC

OPICScoringFilter & Metadata transport scores as String

Hi,

OPICScoringFilter line  91:
content.getMetadata().set(Fetcher.SCORE_KEY, "" + datum.getScore());
and line 96,102 we set and get the Fetch Sore as Strings. :-o.
Wouldn't it be better to have the Metadata support floats as well  
instead of serializing and parsing strings?
In general wouldn't it be a good idea to have Metadata as child of  
MapWritable ? OO Design?

Any thoughts?

Stefan