Package | Description |
---|---|
org.terrier.realtime.memory |
Provides MemoryIndex structures.
|
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.indexing |
Provides the classes used for creating the data structures of
the Terrier platform.
|
org.terrier.structures.indexing.singlepass |
Provides implementation of the structures needed for performing a single
pass indexing
|
Modifier and Type | Method and Description |
---|---|
DocumentIndexEntry |
MemoryDocumentIndexMap.getDocumentEntry(int docid)
Get the document index entry based on its docid
|
DocumentIndexEntry |
MemoryDocumentIndex.getDocumentEntry(int docid)
Get the document index entry based on its docid
|
DocumentIndexEntry |
MemoryDocumentIndexMap.DocumentMapIterator2.next() |
DocumentIndexEntry |
MemoryDocumentIndex.DocumentIterator2.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<DocumentIndexEntry> |
MemoryDocumentIndexMap.iterator() |
Iterator<DocumentIndexEntry> |
MemoryDocumentIndex.iterator()
Return an iterator over the document index.
|
Iterator<Map.Entry<Integer,DocumentIndexEntry>> |
MemoryDocumentIndexMap.iteratorOverEntries() |
Iterator<Map.Entry<Integer,DocumentIndexEntry>> |
MemoryDocumentIndex.iteratorOverEntries()
Return an iterator over the document index.
|
Map.Entry<Integer,DocumentIndexEntry> |
MemoryDocumentIndex.DocumentIterator.next() |
Modifier and Type | Method and Description |
---|---|
DocumentIndexEntry |
MemoryDocumentIndexFields.getDocumentEntry(int docid)
Get the document index entry based on its docid
|
DocumentIndexEntry |
MemoryDocumentIndexFields.DocumentIterator2.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<DocumentIndexEntry> |
MemoryDocumentIndexFields.iterator()
Return an iterator over the document index.
|
Iterator<Map.Entry<Integer,DocumentIndexEntry>> |
MemoryDocumentIndexFields.iteratorOverEntries()
Return an iterator over the document index.
|
Map.Entry<Integer,DocumentIndexEntry> |
MemoryDocumentIndexFields.DocumentIterator.next() |
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 |
---|---|
DocumentIndexEntry |
MultiDoc.getDocumentEntry(int docid)
Get the document index entry based on its docid
|
Constructor and Description |
---|
MultiDocumentEntry(DocumentIndexEntry entry,
int index) |
Modifier and Type | Class and Description |
---|---|
class |
BasicDocumentIndexEntry
A basic document index entry.
|
class |
FieldDocumentIndexEntry
A document index entry for use with fields
|
class |
NonIncrementalDocumentIndexEntry
This class is created to represent a
DocumentIndexEntry that
do not assume an incremental docids, but instead maintains the docid. |
class |
SimpleDocumentIndexEntry
A document index entry that doesn't write out direct index offset.
|
Modifier and Type | Field and Description |
---|---|
protected DocumentIndexEntry |
FSADocumentIndex.lastEntry |
Modifier and Type | Method and Description |
---|---|
DocumentIndexEntry |
PostingIndex.DocidSpecificDocumentIndex.getDocumentEntry(int docid) |
DocumentIndexEntry |
FSADocumentIndex.getDocumentEntry(int docid)
Get the document index entry based on its docid
|
DocumentIndexEntry |
DocumentIndex.getDocumentEntry(int docid)
Get the document index entry based on its docid
|
DocumentIndexEntry |
SimpleDocumentIndexEntry.Factory.newInstance()
Make a new instance of T
|
DocumentIndexEntry |
NonIncrementalDocumentIndexEntry.Factory.newInstance()
Creates a document index entry
|
DocumentIndexEntry |
FieldDocumentIndexEntry.Factory.newInstance() |
DocumentIndexEntry |
BasicDocumentIndexEntry.Factory.newInstance()
Creates a document index entry
|
Constructor and Description |
---|
BasicDocumentIndexEntry(DocumentIndexEntry in)
Constructs an instance of the BasicDocumentIndexEntry.
|
FieldDocumentIndexEntry(DocumentIndexEntry die)
Constructs an instance of the class with
|
NonIncrementalDocumentIndexEntry(DocumentIndexEntry in,
int docid) |
PostingIndex.DocidSpecificDocumentIndex(DocumentIndex _di,
DocumentIndexEntry _die) |
SimpleDocumentIndexEntry(DocumentIndexEntry die)
Construct an instance of the class with
|
Modifier and Type | Field and Description |
---|---|
protected DocumentIndexEntry |
Indexer.emptyDocIndexEntry |
Modifier and Type | Method and Description |
---|---|
DocumentIndexEntry |
FieldDocumentPostingList.getDocumentStatistics()
Return a DocumentIndexEntry for this document
|
DocumentIndexEntry |
DocumentPostingList.getDocumentStatistics()
Return a DocumentIndexEntry for this document
|
Modifier and Type | Method and Description |
---|---|
protected int |
Inverted2DirectIndexBuilder.scanDocumentIndexForTokens(long _processTokens,
Iterator<DocumentIndexEntry> docidStream)
Iterates through the document index, until it has reached the given number of terms
|
Terrier 4.0. Copyright © 2004-2014 University of Glasgow