idl.tmt.util
Class InvertedIndexWriter

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

public class InvertedIndexWriter
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
InvertedIndexWriter(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

InvertedIndexWriter

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

writeIndex

public void writeIndex()