Package org.apache.nutch.indexer
Class NutchField
java.lang.Object
org.apache.nutch.indexer.NutchField
This class represents a multi-valued field with a weight. Values are
arbitrary objects.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NutchField
public NutchField() -
NutchField
-
NutchField
-
-
Method Details
-
add
-
getWeight
public float getWeight() -
setWeight
public void setWeight(float weight) -
getValues
-
reset
public void reset() -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
readFields
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-
toString
-