public class InvertedIndex extends BitPostingIndex
PostingIndex.DocidSpecificDocumentIndex
Modifier and Type | Field and Description |
---|---|
protected DocumentIndex |
doi
Deprecated.
|
static double |
FIELD_LOAD_FACTOR
Deprecated.
This is used during retrieval for a rough guess sizing of the temporaryTerms
arraylist in getDocuments() - retrieval with Fields.
|
protected static org.apache.log4j.Logger |
logger
Deprecated.
The logger used for the Lexicon
|
static double |
NORMAL_LOAD_FACTOR
Deprecated.
This is used during retrieval for a rough guess sizing of the temporaryTerms
arraylist in getDocuments().
|
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, setPostingImplementation
protected static final org.apache.log4j.Logger logger
public static final double NORMAL_LOAD_FACTOR
public static final double FIELD_LOAD_FACTOR
protected DocumentIndex doi
public InvertedIndex(IndexOnDisk index, String structureName) throws IOException
index
- structureName
- IOException
public InvertedIndex(IndexOnDisk index, String structureName, DocumentIndex _doi) throws IOException
index
- structureName
- _doi
- IOException
public InvertedIndex(IndexOnDisk index, String structureName, DocumentIndex _doi, Class<? extends IterablePosting> postingClass) throws IOException
index
- structureName
- _doi
- postingClass
- IOException
public BitInSeekable[] getBitFiles()
public void print()
public IterablePosting getPostings(Pointer pointer) throws IOException
BitPostingIndex
getPostings
in interface PostingIndex<BitIndexPointer>
getPostings
in class BitPostingIndex
IOException
public int[][] getDocuments(LexiconEntry le)
public int[][] getDocuments(BitIndexPointer pointer)
Terrier 4.0. Copyright © 2004-2014 University of Glasgow