idl.tmt.util
Class DocumentIndexWriter

java.lang.Object
  |
  +--idl.tmt.util.DocumentIndexWriter

public class DocumentIndexWriter
extends java.lang.Object

Builds an inverted index with format
termid docid count
per line, writing to a file on disk.

Author:
miles

Field Summary
private  java.lang.String myCollectionName
           
private  TmtMatrix myMatrix
           
 
Constructor Summary
DocumentIndexWriter(java.lang.String collectionName, TmtMatrix docTermMatrix)
           
 
Method Summary
 void writeIndex()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

myCollectionName

private java.lang.String myCollectionName

myMatrix

private TmtMatrix myMatrix
Constructor Detail

DocumentIndexWriter

public DocumentIndexWriter(java.lang.String collectionName,
                           TmtMatrix docTermMatrix)
Method Detail

writeIndex

public void writeIndex()