org.terrier.structures
Interface FieldDocumentIndex

All Superinterfaces:
DocumentIndex
All Known Implementing Classes:
FSAFieldDocumentIndex

public interface FieldDocumentIndex
extends DocumentIndex

Interface for a fields document index


Method Summary
 int[] getFieldLengths(int docid)
          Get the length of each field
 
Methods inherited from interface org.terrier.structures.DocumentIndex
getDocumentEntry, getDocumentLength, getNumberOfDocuments
 

Method Detail

getFieldLengths

int[] getFieldLengths(int docid)
                      throws java.io.IOException
Get the length of each field

Throws:
java.io.IOException


Terrier 3.5. Copyright © 2004-2011 University of Glasgow