public interface DocumentIndex
Modifier and Type | Method and Description |
---|---|
DocumentIndexEntry |
getDocumentEntry(int docid)
Get the document index entry based on its docid
|
int |
getDocumentLength(int docid)
Get the length of the document
|
int |
getNumberOfDocuments()
Get the number of documents
|
DocumentIndexEntry getDocumentEntry(int docid) throws IOException
IOException
int getDocumentLength(int docid) throws IOException
IOException
int getNumberOfDocuments()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow