public class BlockFieldPosting extends BlockPosting
tf, df, field
and the sequence [doc, idf, bockNo [blockId]]
Constructor and Description |
---|
BlockFieldPosting() |
Modifier and Type | Method and Description |
---|---|
int |
insert(int doc,
int freq,
int[] fieldFreqs,
int[] blockids)
Writes the document to the MemorySBOS
|
int |
writeFirstDoc(int doc,
int frequency,
int[] fieldFreqs,
int[] blockids)
Writes out the first document to the MemorySBOS.
|
insert, writeFirstDoc
public int writeFirstDoc(int doc, int frequency, int[] fieldFreqs, int[] blockids) throws IOException
IOException
public int insert(int doc, int freq, int[] fieldFreqs, int[] blockids) throws IOException
IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow