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 |
FileRunIterator<K extends PostingInRun>
Reads runs of flushed term posting lists by reading them from files.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockFieldPostingInRun
Class holding the information for a posting list read
from a previously written run at disk.
|
class |
BlockPostingInRun
Class holding the information for a posting list read
from a previously written run at disk.
|
class |
FieldPostingInRun
Class holding the information for a posting list read
from a previously written run at disk.
|
class |
SimplePostingInRun
Class holding the information for a posting list read
from a previously written run at disk.
|
Modifier and Type | Field and Description |
---|---|
protected PostingInRun |
RunIterator.posting
current posting
|
Modifier and Type | Field and Description |
---|---|
protected Class<? extends PostingInRun> |
RunIterator.postingClass
class that new postings are derived from
|
Modifier and Type | Method and Description |
---|---|
PostingInRun |
RunIterator.current()
returns the current posting
|
protected PostingInRun |
Inverted2DirectIndexBuilder.getPostingReader()
returns the SPIR implementation that should be used for reading the postings
written earlier
|
protected PostingInRun |
BlockInverted2DirectIndexBuilder.getPostingReader()
returns the SPIR implementation that should be used for reading the postings
written earlier
|
abstract PostingInRun |
RunIterator.next()
iterator implementation
|
PostingInRun |
FileRunIterator.next()
Move to the next posting in this run
|
Modifier and Type | Method and Description |
---|---|
protected abstract Class<? extends PostingInRun> |
ExtensibleSinglePassIndexer.getPostingInRunClass()
Get the class for storing postings in runs.
|
Constructor and Description |
---|
FileRunIterator(String filename,
String termsFile,
int runNo,
Class<? extends PostingInRun> _postingInRunClass,
int fieldCount)
Load a new run from files.
|
FileRunIteratorFactory(String[][] _files,
Class<? extends PostingInRun> _postingClass,
int numFields)
constructor
|
RunIterator(Class<? extends PostingInRun> _postingClass,
int _runNo,
int _numberOfFields)
create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
PostingInRun |
HadoopRunPostingIterator.next()
Return the next PostingInRun
|
Constructor and Description |
---|
HadoopRunIteratorFactory(Iterator<MapEmittedPostingList> _postingIterator,
Class<? extends PostingInRun> _postingClass,
int numberOfFields)
constructor
|
HadoopRunPostingIterator(Class<? extends PostingInRun> postingClass,
int runNo,
Iterator<MapEmittedPostingList> _postingiterator,
String _term,
int numFields)
Constructs a new RunPostingIterator.
|
Terrier 4.0. Copyright © 2004-2014 University of Glasgow