Package | Description |
---|---|
org.terrier.realtime.memory.fields |
Provides MemoryIndex structures that support field search.
|
org.terrier.realtime.multi |
Provides MultiIndex structures.
|
org.terrier.structures |
Provides the classes that implement the data structures used
for retrieval with the Terrier platform.
|
org.terrier.structures.bit |
Provides on-disk index structures that support the older bit-level compression scheme.
|
org.terrier.structures.integer |
Provides generic posting index classes that support byte-level compression.
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryDocumentIndexFieldsMap.addDocument(int docid,
int length,
int[] flengths,
BitIndexPointer bitbasedpointer)
Add document length and field lengths to document index.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiDocumentEntry
A document index entry that represents a document within a multi-index
It stores information about the shard that the document comes from.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiDocumentEntry.setBitIndexPointer(BitIndexPointer pointer) |
Modifier and Type | Class and Description |
---|---|
class |
BasicDocumentIndexEntry
A basic document index entry.
|
class |
BasicLexiconEntry
Contains all the information about one entry in the Lexicon.
|
class |
BlockFieldLexiconEntry
A LexiconEntry with field support
|
class |
BlockLexiconEntry
Deprecated.
|
class |
DocumentIndexEntry
A document index entry.
|
class |
FieldDocumentIndexEntry
A document index entry for use with fields
|
class |
FieldLexiconEntry
A LexiconEntry with field support
|
class |
NonIncrementalDocumentIndexEntry
This class is created to represent a
DocumentIndexEntry that
do not assume an incremental docids, but instead maintains the docid. |
class |
SimpleBitIndexPointer
An implementation of a BitIndexPointer.
|
class |
SimpleDocumentIndexEntry
A document index entry that doesn't write out direct index offset.
|
Modifier and Type | Method and Description |
---|---|
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(int[][] postings,
int startOffset,
int Length,
int firstId) |
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(IterablePosting postings) |
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(IterablePosting postings,
int previousId) |
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(Iterator<Posting> iterator) |
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(Iterator<Posting> iterator,
int previousId) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleBitIndexPointer.setBitIndexPointer(BitIndexPointer pointer)
Update this pointer to reflect the same values as the specified
pointer
|
void |
SimpleDocumentIndexEntry.setBitIndexPointer(BitIndexPointer pointer)
Update this pointer to reflect the same values as the specified
pointer
|
void |
BasicLexiconEntry.setBitIndexPointer(BitIndexPointer pointer)
Update this pointer to reflect the same values as the specified
pointer
|
void |
BasicDocumentIndexEntry.setBitIndexPointer(BitIndexPointer pointer)
Update this pointer to reflect the same values as the specified
pointer
|
void |
BasicTermStatsLexiconEntry.setBitIndexPointer(BitIndexPointer pointer)
Sets the bit index pointer to this LexiconEntry
|
void |
BitIndexPointer.setBitIndexPointer(BitIndexPointer pointer)
Update this pointer to reflect the same values as the specified
pointer
|
Constructor and Description |
---|
BasicDocumentIndexEntry(int length,
BitIndexPointer pointer)
Constructs an instance of the BasicDocumentIndexEntry.
|
Modifier and Type | Field and Description |
---|---|
protected BitIndexPointer |
BitPostingIndexInputStream.currentPointer |
Modifier and Type | Field and Description |
---|---|
protected Iterator<? extends BitIndexPointer> |
BitPostingIndexInputStream.pointerList
the lexicon input stream providing the offsets
|
Modifier and Type | Method and Description |
---|---|
protected BitIndexPointer |
BitPostingIndexInputStream._next() |
protected BitIndexPointer |
BlockDirectInvertedOutputStream.writeNoFieldPostings(int[][] postings,
int offset,
int length,
int firstId)
Writes the given block postings to the bit file.
|
protected BitIndexPointer |
DirectInvertedOutputStream.writeNoFieldPostings(int[][] postings,
int offset,
int length,
int firstId)
Writes the given postings to the bit file.
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(int[][] postings,
int firstId)
Write out the specified postings.
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(int[][] postings,
int startOffset,
int Length,
int firstId)
Write out a range of the specified postings.
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(IterablePosting postings)
Write out the specified postings.
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(IterablePosting postings,
int previousId)
Write out the specified postings, but allowing the delta for the first document to be adjusted
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(Iterator<Posting> iterator)
Write out the specified postings.
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(Iterator<Posting> iterator,
int previousId)
Write out the specified postings, but allowing the delta for the first document to be adjusted
|
Modifier and Type | Method and Description |
---|---|
protected DocumentIndex |
BitPostingIndexInputStream.getDocumentIndex(BitIndexPointer pointer) |
protected DocumentIndex |
DirectIndexInputStream.getDocumentIndex(BitIndexPointer pointer)
Deprecated.
|
int[][] |
BlockInvertedIndex.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.
|
int[][] |
InvertedIndex.getDocuments(BitIndexPointer pointer)
Deprecated.
Get the documents for for the posting list using the pointer given
|
protected int[][] |
InvertedIndexInputStream.getNextDocuments(BitIndexPointer pointer)
Deprecated.
Get the set of documents for the given term pointer
|
protected int[][] |
BlockInvertedIndexInputStream.getNextDocuments(BitIndexPointer pointer)
Deprecated.
|
int[][] |
DirectIndexInputStream.getNextTerms(BitIndexPointer pointer)
Deprecated.
Get the terms for the next document at the pointer specified
|
int[][] |
BlockDirectIndexInputStream.getNextTerms(BitIndexPointer pointer)
Deprecated.
Get the terms for the next document at the pointer specified
|
int[][] |
DirectIndex.getTerms(BitIndexPointer pointer)
Deprecated.
Get the terms for the document at the specified bit index pointer.
|
int[][] |
BlockDirectIndex.getTerms(BitIndexPointer pointer)
Deprecated.
Get the terms for the document at the specified bit index pointer.
|
protected IterablePosting |
BitPostingIndexInputStream.loadPostingIterator(BitIndexPointer pointer) |
Constructor and Description |
---|
BitPostingIndexInputStream(IndexOnDisk _index,
String _structureName,
Iterator<? extends BitIndexPointer> _pointerList,
Class<? extends IterablePosting> _postingIteratorClass)
Constructs an instance of BitPostingIndexInputStream.
|
DirectIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends BitIndexPointer> _pointerList,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected BitIndexPointer |
IntegerCodingPostingIndexInputStream.currentPointer |
Modifier and Type | Field and Description |
---|---|
protected Iterator<? extends BitIndexPointer> |
IntegerCodingPostingIndexInputStream.pointerList
the lexicon input stream providing the offsets
|
Modifier and Type | Method and Description |
---|---|
protected BitIndexPointer |
IntegerCodingPostingIndexInputStream._next() |
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(int[][] postings,
int startOffset,
int Length,
int firstId) |
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(IterablePosting postings)
Write out the specified postings.
|
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(IterablePosting postings,
int previousId) |
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(Iterator<Posting> iterator) |
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(Iterator<Posting> iterator,
int previousId) |
Modifier and Type | Method and Description |
---|---|
protected DocumentIndex |
IntegerCodingPostingIndexInputStream.getDocumentIndex(BitIndexPointer pointer) |
protected IterablePosting |
IntegerCodingPostingIndexInputStream.loadPostingIterator(BitIndexPointer pointer) |
Constructor and Description |
---|
IntegerCodingPostingIndexInputStream(IndexOnDisk _index,
String _structureName,
Iterator<? extends BitIndexPointer> _pointerList)
Constructs an instance
|
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow