org.apache.nutch.clustering.carrot2
Class NutchDocument

java.lang.Object
  extended bycom.dawidweiss.carrot.core.local.clustering.RawDocumentBase
      extended byorg.apache.nutch.clustering.carrot2.NutchDocument
All Implemented Interfaces:
com.stachoodev.util.common.PropertyProvider, com.dawidweiss.carrot.core.local.clustering.RawDocument

public class NutchDocument
extends com.dawidweiss.carrot.core.local.clustering.RawDocumentBase

An adapter class that implements RawDocument for Carrot2.

Version:
$Id: NutchDocument.java,v 1.2 2004/08/10 00:18:43 johnnx Exp $
Author:
Dawid Weiss

Field Summary
 
Fields inherited from class com.dawidweiss.carrot.core.local.clustering.RawDocumentBase
propertyHelper
 
Fields inherited from interface com.dawidweiss.carrot.core.local.clustering.RawDocument
PROPERTY_CONTENT_READER, PROPERTY_LANGUAGE, PROPERTY_SNIPPET, PROPERTY_TITLE, PROPERTY_URL
 
Constructor Summary
NutchDocument(int id, HitDetails details, String summary)
          Creates a new document with the given id, summary and wrapping a details hit details.
 
Method Summary
 Object getId()
           
 
Methods inherited from class com.dawidweiss.carrot.core.local.clustering.RawDocumentBase
getDoubleProperty, getIntProperty, getProperty, getScore, getSnippet, getTitle, getUrl, setDoubleProperty, setIntProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NutchDocument

public NutchDocument(int id,
                     HitDetails details,
                     String summary)
Creates a new document with the given id, summary and wrapping a details hit details.

Method Detail

getId

public Object getId()


Copyright © 2006 The Apache Software Foundation