public class FSAFieldDocumentIndex extends FSADocumentIndex implements FieldDocumentIndex
FSADocumentIndex.FSADocumentIndexIteratorFSArrayFile.ArrayFileIterator<V extends org.apache.hadoop.io.Writable>, FSArrayFile.ArrayFileWriterdocLengths, lastDocid, lastEntry, loggerdataFile, dataFilename, entrySize, numberOfEntries, USUAL_EXTENSION, valueFactorymodCount| Constructor and Description | 
|---|
| FSAFieldDocumentIndex(IndexOnDisk index,
                     String structureName)Construct an instance of the class with | 
| Modifier and Type | Method and Description | 
|---|---|
| int[] | getFieldLengths(int docid)Get the length of each field | 
| protected void | initialise(IndexOnDisk index,
          String structureName) | 
getDocumentEntry, getDocumentLength, getNumberOfDocumentsclose, get, iterator, size, writeFSArrayFileadd, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDocumentEntry, getDocumentLength, getNumberOfDocumentspublic FSAFieldDocumentIndex(IndexOnDisk index, String structureName) throws IOException
index - structureName - IOExceptionprotected void initialise(IndexOnDisk index, String structureName) throws IOException
initialise in class FSADocumentIndexIOExceptionpublic int[] getFieldLengths(int docid)
                      throws IOException
getFieldLengths in interface FieldDocumentIndexIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow