net.nutch.indexer
Class IndexSegment
java.lang.Object
net.nutch.indexer.IndexSegment
- public class IndexSegment
- extends Object
Creates an index for the output corresponding to a single fetcher run.
Method Summary |
void |
indexPages()
|
static void |
main(String[] args)
Create an index for the input files in the named directory. |
void |
setScorePower(float power)
Determines the power of link analyis scores. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DONE_NAME
public static final String DONE_NAME
- See Also:
- Constant Field Values
LOG
public static final Logger LOG
LOG_STEP
public static int LOG_STEP
IndexSegment
public IndexSegment(NutchFileSystem nfs,
long maxDocs,
File srcDir,
File localWorkingDir)
- Index a segment in the given NFS.
setScorePower
public void setScorePower(float power)
- Determines the power of link analyis scores. Each pages's boost is
set to scorescorePower where score is its link
analysis score and scorePower is the value passed to this method.
indexPages
public void indexPages()
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Create an index for the input files in the named directory.
- Throws:
Exception
Copyright © 2005 The Nutch Organization.