public class InvertedIndex extends BitPostingIndex
PostingIndex.DocidSpecificDocumentIndex| Modifier and Type | Field and Description | 
|---|---|
| static double | FIELD_LOAD_FACTORDeprecated.  This is used during retrieval for a rough guess sizing of the temporaryTerms
 arraylist in getDocuments() - retrieval with Fields. | 
| protected static org.slf4j.Logger | loggerDeprecated.  The logger used for the Lexicon | 
| static double | NORMAL_LOAD_FACTORDeprecated.  This is used during retrieval for a rough guess sizing of the temporaryTerms
 arraylist in getDocuments(). | 
doi, fieldCount, file, index, postingConstructor, postingImplementation| Constructor and Description | 
|---|
| InvertedIndex(IndexOnDisk index,
             String structureName)Deprecated.  Construct an instance of the class with | 
| InvertedIndex(IndexOnDisk index,
             String structureName,
             DocumentIndex _doi)Deprecated.  Construct an instance of the class with | 
| InvertedIndex(IndexOnDisk index,
             String structureName,
             DocumentIndex _doi,
             Class<? extends IterablePosting> postingClass)Deprecated.  Construct an instance of the class with | 
| Modifier and Type | Method and Description | 
|---|---|
| BitInSeekable[] | getBitFiles()Deprecated.  Get the BitFiles | 
| int[][] | getDocuments(BitIndexPointer pointer)Deprecated.  Get the documents for for the posting list using the pointer given | 
| int[][] | getDocuments(LexiconEntry le)Deprecated.  Get the documents for the specified term (lexicon entry for the term) | 
| IterablePosting | getPostings(Pointer pointer)Deprecated.  Get the posting given a pointer | 
| void | print()Deprecated.  Print out the Inverted Index | 
close, setPostingImplementationprotected static final org.slf4j.Logger logger
public static final double NORMAL_LOAD_FACTOR
public static final double FIELD_LOAD_FACTOR
public InvertedIndex(IndexOnDisk index, String structureName) throws IOException
index - structureName - IOExceptionpublic InvertedIndex(IndexOnDisk index, String structureName, DocumentIndex _doi) throws IOException
index - structureName - _doi - IOExceptionpublic InvertedIndex(IndexOnDisk index, String structureName, DocumentIndex _doi, Class<? extends IterablePosting> postingClass) throws IOException
index - structureName - _doi - postingClass - IOExceptionpublic BitInSeekable[] getBitFiles()
public void print()
public IterablePosting getPostings(Pointer pointer) throws IOException
BitPostingIndexgetPostings in interface PostingIndex<BitIndexPointer>getPostings in class BitPostingIndexIOExceptionpublic int[][] getDocuments(LexiconEntry le)
public int[][] getDocuments(BitIndexPointer pointer)
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow