|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.structures.merging.StructureMerger uk.ac.gla.terrier.structures.merging.BlockStructureMerger
public class BlockStructureMerger
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.
StructureMerger
Constructor Summary | |
---|---|
BlockStructureMerger(Index _srcIndex1,
Index _srcIndex2,
Index _destIndex)
|
|
BlockStructureMerger(java.lang.String _filename1,
java.lang.String _filename2)
Deprecated. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
usage: java uk.ac.gla.terrier.structures.merging.BlockStructureMerger [binary bits] [inverted file 1] [inverted file 2] [output inverted file] |
static void |
writeBlockPostings(int[][] postings,
int firstId,
BitOutputStream output,
int binaryBits)
Deprecated. Use BlockDirectInvertedOutputStream instead |
static void |
writeFieldPostings(int[][] postings,
int firstId,
BitOutputStream output,
int binaryBits)
Deprecated. Use BlockDirectInvertedOutputStream instead |
static void |
writeNoFieldPostings(int[][] postings,
int firstId,
BitOutputStream output)
Deprecated. Use BlockDirectInvertedOutputStream instead |
Methods inherited from class uk.ac.gla.terrier.structures.merging.StructureMerger |
---|
mergeStructures, setNumberOfBits, setOutputFilename, setOutputIndex, writeFieldPostings, writeNoFieldPostings, writePostings |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockStructureMerger(java.lang.String _filename1, java.lang.String _filename2)
_filename1
- the first inverted file to merge_filename2
- the second inverted file to mergepublic BlockStructureMerger(Index _srcIndex1, Index _srcIndex2, Index _destIndex)
Method Detail |
---|
public static void writeBlockPostings(int[][] postings, int firstId, BitOutputStream output, int binaryBits) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)
public static void writeFieldPostings(int[][] postings, int firstId, BitOutputStream output, int binaryBits) throws java.io.IOException
java.io.IOException
public static void writeNoFieldPostings(int[][] postings, int firstId, BitOutputStream output) throws java.io.IOException
java.io.IOException
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |