Package | Description |
---|---|
org.terrier.structures.indexing.singlepass |
Provides implementation of the structures needed for performing a single
pass indexing
|
org.terrier.structures.indexing.singlepass.hadoop |
Provides classes implemeting the Hadoop MapReduce indexing in Terrier.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockFieldPosting
Class representing a posting list in memory containing fields and block iformation.
|
class |
BlockPosting
Class representing a posting list in memory with block information
It keeps the information for
DF, TF , and the sequence [doc, tf, blockCount, [blockId]] |
class |
FieldPosting
Class holding the information for a posting list read
from a previously written run at disk.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Posting> |
MemoryPostings.postings
Hashmap indexed by the term, containing the posting lists
|
Modifier and Type | Method and Description |
---|---|
protected Posting[] |
Inverted2DirectIndexBuilder.getPostings(int count)
get an array of posting object of the specified size.
|
protected Posting[] |
BlockInverted2DirectIndexBuilder.getPostings(int count)
get an array of posting object of the specified size.
|
Modifier and Type | Method and Description |
---|---|
protected long |
Inverted2DirectIndexBuilder.traverseInvertedFile(PostingIndexInputStream iiis,
int firstDocid,
int countDocuments,
Posting[] directPostings)
traverse the inverted file, looking for all occurrences of documents in the given range
|
protected long |
BlockInverted2DirectIndexBuilder.traverseInvertedFile(PostingIndexInputStream iiis,
int firstDocid,
int countDocuments,
Posting[] directPostings)
traverse the inverted file, looking for all occurrences of documents in the given range
|
void |
RunWriter.writeTerm(String term,
Posting post)
Writes the information for a given term.
|
Modifier and Type | Method and Description |
---|---|
void |
HadoopRunWriter.writeTerm(String term,
Posting post)
Write the posting to the output collector
|
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow