uk.ac.gla.terrier.structures.indexing.singlepass
Class BlockFieldPosting
java.lang.Object
uk.ac.gla.terrier.structures.indexing.singlepass.Posting
uk.ac.gla.terrier.structures.indexing.singlepass.BlockPosting
uk.ac.gla.terrier.structures.indexing.singlepass.BlockFieldPosting
public class BlockFieldPosting
- extends BlockPosting
Class representing a posting list in memory containing fields and block iformation.
It keeps the information for tf, df, field
and the sequence [doc, idf, bockNo [blockId]]
- Author:
- Roi Blanco
Method Summary |
int |
insert(int doc,
int freq,
int fieldScore,
int[] blockids)
|
void |
writeFirstDoc(int doc,
int frequency,
int fieldScore,
int[] blockids)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockFieldPosting
public BlockFieldPosting()
writeFirstDoc
public void writeFirstDoc(int doc,
int frequency,
int fieldScore,
int[] blockids)
throws java.io.IOException
- Throws:
java.io.IOException
insert
public int insert(int doc,
int freq,
int fieldScore,
int[] blockids)
throws java.io.IOException
- Throws:
java.io.IOException
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow