public class BlockInvertedIndex extends InvertedIndex implements IndexConfigurable
PostingIndex.DocidSpecificDocumentIndex| Modifier and Type | Field and Description |
|---|---|
protected int |
DocumentBlockCountDelta
Deprecated.
|
FIELD_LOAD_FACTOR, logger, NORMAL_LOAD_FACTORdoi, fieldCount, file, index, postingConstructor, postingImplementation| Constructor and Description |
|---|
BlockInvertedIndex(IndexOnDisk index,
String structureName)
Deprecated.
Constructs an instance of the class with
|
BlockInvertedIndex(IndexOnDisk index,
String structureName,
DocumentIndex doi)
Deprecated.
Constructs an instance of the class with
|
BlockInvertedIndex(IndexOnDisk index,
String structureName,
DocumentIndex _doi,
Class<? extends IterablePosting> postingClass)
Deprecated.
Constructs an instance of the class with
|
| Modifier and Type | Method and Description |
|---|---|
int[][] |
getDocuments(BitIndexPointer pointer)
Deprecated.
Returns a 2D array containing the document ids,
the term frequencies, the field scores the block frequencies and
the block ids for the given documents.
|
void |
setIndex(Index i)
Deprecated.
let it know which index to use
|
getBitFiles, getDocuments, getPostings, printclose, setPostingImplementationpublic BlockInvertedIndex(IndexOnDisk index, String structureName, DocumentIndex _doi, Class<? extends IterablePosting> postingClass) throws IOException
index - structureName - _doi - postingClass - IOExceptionpublic BlockInvertedIndex(IndexOnDisk index, String structureName, DocumentIndex doi) throws IOException
index - structureName - doi - IOExceptionpublic BlockInvertedIndex(IndexOnDisk index, String structureName) throws IOException
index - structureName - IOExceptionpublic void setIndex(Index i)
setIndex in interface IndexConfigurablei - Index object to usepublic int[][] getDocuments(BitIndexPointer pointer)
getDocuments in class InvertedIndexpointer - start byte and bit offset of the postings in the inverted file,
together with number of postings to expectTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow