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 Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow