org.terrier.structures.merging
Class BlockStructureMerger

java.lang.Object
  extended by org.terrier.structures.merging.StructureMerger
      extended by org.terrier.structures.merging.BlockStructureMerger

public class BlockStructureMerger
extends StructureMerger

This class merges two sets of data structures (ie direct index, inverted index, document index, lexicon and statistics), created by Terrier with position information (blocks) and possibly field information, into one set of data structures.

Author:
Vassilis Plachouras and Craig Macdonald
See Also:
StructureMerger

Field Summary
 
Fields inherited from class org.terrier.structures.merging.StructureMerger
basicDirectIndexPostingIteratorClass, basicInvertedIndexPostingIteratorClass, destIndex, directFileInputClass, directFileInputStreamClass, directFileOutputStreamClass, fieldDirectFileOutputStreamClass, fieldDirectIndexPostingIteratorClass, fieldInvertedFileOutputStreamClass, fieldInvertedIndexPostingIteratorClass, invertedFileInputClass, invertedFileInputStreamClass, invertedFileOutputStreamClass, keepTermCodeMap, logger, MetaReverse, numberOfDocuments, numberOfPointers, numberOfTerms, srcIndex1, srcIndex2, termcodeHashmap
 
Constructor Summary
BlockStructureMerger(Index _srcIndex1, Index _srcIndex2, Index _destIndex)
          constructor
 
Method Summary
static void main(java.lang.String[] args)
          usage: java org.terrier.structures.merging.BlockStructureMerger [binary bits] [inverted file 1] [inverted file 2] [output inverted file]
 
Methods inherited from class org.terrier.structures.merging.StructureMerger
createLexidFile, getInterfaces, mergeDirectFiles, mergeDocumentIndexFiles, mergeInvertedFiles, mergeStructures, setOutputIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockStructureMerger

public BlockStructureMerger(Index _srcIndex1,
                            Index _srcIndex2,
                            Index _destIndex)
constructor

Parameters:
_srcIndex1 -
_srcIndex2 -
_destIndex -
Method Detail

main

public static void main(java.lang.String[] args)
usage: java org.terrier.structures.merging.BlockStructureMerger [binary bits] [inverted file 1] [inverted file 2] [output inverted file]



Terrier 3.5. Copyright © 2004-2011 University of Glasgow