Terrier IR Platform
2.2.1

uk.ac.gla.terrier.structures.indexing.singlepass
Class BlockFieldPosting

java.lang.Object
  extended by uk.ac.gla.terrier.structures.indexing.singlepass.Posting
      extended by uk.ac.gla.terrier.structures.indexing.singlepass.BlockPosting
          extended by 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

Constructor Summary
BlockFieldPosting()
           
 
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 uk.ac.gla.terrier.structures.indexing.singlepass.BlockPosting
insert, writeFirstDoc
 
Methods inherited from class uk.ac.gla.terrier.structures.indexing.singlepass.Posting
getDocF, getDocs, getTF, insert, setDocF, setDocs, setTF, writeFirstDoc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockFieldPosting

public BlockFieldPosting()
Method Detail

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 IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow