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 IOException
Get the length of each field

Throws:
IOException


Terrier 3.6. Copyright © 2004-2011 University of Glasgow