Terrier IR Platform
2.2.1
A B C D E F G H I J K L M N O P Q R S T U V W

B

B - Class in uk.ac.gla.terrier.matching.models.aftereffect
This class implements the B model for the first normalisation by after effect.
B() - Constructor for class uk.ac.gla.terrier.matching.models.aftereffect.B
 
B - Class in uk.ac.gla.terrier.matching.models.basicmodel
This class implements the B basic model for randomness.
B() - Constructor for class uk.ac.gla.terrier.matching.models.basicmodel.B
A default constructor.
b - Static variable in class uk.ac.gla.terrier.terms.PorterStemmer
A buffer for word to be stemmed.
BasicIndexer - Class in uk.ac.gla.terrier.indexing
BasicIndexer is the default indexer for Terrier.
BasicIndexer(String, String) - Constructor for class uk.ac.gla.terrier.indexing.BasicIndexer
Constructs an instance of a BasicIndexer, using the given path name for storing the data structures.
BasicModel - Class in uk.ac.gla.terrier.matching.models.basicmodel
This class provides a contract for implementing the basic models for randomness in the DFR framework, for use with the DFRWeightingModel class.
BasicModel() - Constructor for class uk.ac.gla.terrier.matching.models.basicmodel.BasicModel
A default constructor that initialises the idf i attribute
BasicSinglePassIndexer - Class in uk.ac.gla.terrier.indexing
This class indexes a document collection (skipping the direct file construction).
BasicSinglePassIndexer(String, String) - Constructor for class uk.ac.gla.terrier.indexing.BasicSinglePassIndexer
Constructs an instance of a BasicSinglePassIndexer, using the given path name for storing the data structures.
BB2 - Class in uk.ac.gla.terrier.matching.models
This class implements the BB2 weighting model.
BB2() - Constructor for class uk.ac.gla.terrier.matching.models.BB2
A default constructor.
BB2(double) - Constructor for class uk.ac.gla.terrier.matching.models.BB2
Constructs an instance of this class with the specified value for the parameter c.
beginMerge(LinkedList<MapData>) - Method in class uk.ac.gla.terrier.structures.indexing.singlepass.hadoop.HadoopRunsMerger
Alternate Merge operation for merging a linked list of runs of the form Hadoop_MapData.
beginMerge(int, String) - Method in class uk.ac.gla.terrier.structures.indexing.singlepass.RunsMerger
Begins the multiway merging phase.
beginRead() - Method in class uk.ac.gla.terrier.compression.MemoryLinkedOutputStream
Sets the structure for reading
beginWrite(int, int) - Method in class uk.ac.gla.terrier.structures.indexing.singlepass.hadoop.HadoopRunWriter
 
beginWrite(int, int) - Method in class uk.ac.gla.terrier.structures.indexing.singlepass.RunWriter
Writes the headers of the run.
BitByteOutputStream - Class in uk.ac.gla.terrier.compression
This class provides methods to write compressed integers to an outputstream.
The numbers are written into a byte starting from the most significant bit (i.e, left to right).
BitByteOutputStream(OutputStream) - Constructor for class uk.ac.gla.terrier.compression.BitByteOutputStream
Constructs an instance of the class for a given stream
BitByteOutputStream(String) - Constructor for class uk.ac.gla.terrier.compression.BitByteOutputStream
Constructs an instance of the class for a given filename
BitByteOutputStream(File) - Constructor for class uk.ac.gla.terrier.compression.BitByteOutputStream
Constructs an instance of the class for a given file
BitByteOutputStream() - Constructor for class uk.ac.gla.terrier.compression.BitByteOutputStream
Empty constructor, used for subclassing
BitFile - Class in uk.ac.gla.terrier.compression
This class encapsulates a random access file and provides the functionalities to write binary encoded, unary encoded and gamma encoded integers greater than zero, as well as specifying their offset in the file.
BitFile(File, String) - Constructor for class uk.ac.gla.terrier.compression.BitFile
Constructs an instance of the class for a given file and an acces method to the file
BitFile(String, String) - Constructor for class uk.ac.gla.terrier.compression.BitFile
Constructs an instance of the class for a given filename and an acces method to the file
BitFile(String) - Constructor for class uk.ac.gla.terrier.compression.BitFile
Constructs an instance of the class for a given filename, "rw" permissions
BitFile(File) - Constructor for class uk.ac.gla.terrier.compression.BitFile
 
BitFileInMemory - Class in uk.ac.gla.terrier.compression
Class which enables a BitFile to be read in memory
BitFileInMemory(String) - Constructor for class uk.ac.gla.terrier.compression.BitFileInMemory
Loads the entire file represented by filename into memory
BitFileInMemory(InputStream, long) - Constructor for class uk.ac.gla.terrier.compression.BitFileInMemory
Loads the entire specified inputstream into memory.
BitFileInMemory(byte[]) - Constructor for class uk.ac.gla.terrier.compression.BitFileInMemory
Create an object using the specified data as the compressed data
BitIn - Interface in uk.ac.gla.terrier.compression
Interface describing the read compression methods supported by the BitFile and BitInputStream classes.
BitInputStream - Class in uk.ac.gla.terrier.compression
This class reads from a file or an InputStream integers that can be coded with different encoding algorithms.
BitInputStream(InputStream) - Constructor for class uk.ac.gla.terrier.compression.BitInputStream
Constructs an instance of the class for a given stream
BitInputStream(String) - Constructor for class uk.ac.gla.terrier.compression.BitInputStream
Constructs an instance of the class for a given filename
BitInputStream(File) - Constructor for class uk.ac.gla.terrier.compression.BitInputStream
Constructs an instance of the class for a given file
BitInSeekable - Interface in uk.ac.gla.terrier.compression
Interface for BitFile and OldBitFile - future proofing for returning new objects for readReset instead of just the object itself.
BitOut - Interface in uk.ac.gla.terrier.compression
Interface describing the writing compression methods supported by the BitFile classes.
BitOutputStream - Class in uk.ac.gla.terrier.compression
This class provides methods to write compressed integers to an outputstream.
The numbers are written into a byte starting from the most significant bit (i.e, left to right).
BitOutputStream() - Constructor for class uk.ac.gla.terrier.compression.BitOutputStream
Empty constructor
BitOutputStream(OutputStream) - Constructor for class uk.ac.gla.terrier.compression.BitOutputStream
Constructs an instance of the class for a given OutputSTream
BitOutputStream(String) - Constructor for class uk.ac.gla.terrier.compression.BitOutputStream
Constructs an instance of the class for a given filename Note that on a FileNotFoundException, this contructor will sleep for 2 seconds before retrying to open the file.
Bits - Variable in class uk.ac.gla.terrier.structures.FilePosition
The offset in bits within the pointed byte.
BitUtilities - Class in uk.ac.gla.terrier.compression
Utility methods for use in the BitFile classes.
BitUtilities() - Constructor for class uk.ac.gla.terrier.compression.BitUtilities
 
BLOCK_INDEXING - Static variable in class uk.ac.gla.terrier.utility.ApplicationSetup
Specifies whether block information will be used for indexing.
BLOCK_SIZE - Static variable in class uk.ac.gla.terrier.utility.ApplicationSetup
The size of a block of terms in a document.
BlockDirectIndex - Class in uk.ac.gla.terrier.structures
Extended direct index that saves both block and field information about the terms that appear in a document.
BlockDirectIndex(DocumentIndex) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectIndex
Constructs an instance of the class with the given document index.
BlockDirectIndex(DocumentIndex, String) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectIndex
Constructs an instance of the class with the given document index.
BlockDirectIndex(DocumentIndex, String, String) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectIndex
 
BlockDirectIndexBuilder - Class in uk.ac.gla.terrier.structures.indexing
Builds a direct index using block and possibly field information.
BlockDirectIndexBuilder(DocumentIndex) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockDirectIndexBuilder
Deprecated. DocumentIndex is no longer required to use a DirectIndexBuilder
BlockDirectIndexBuilder(String) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockDirectIndexBuilder
Constructs an instance of the class with the direct file being written to filename.
BlockDirectIndexBuilder(String, String) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockDirectIndexBuilder
Constructs an instance of the class with the direct file being written in the index space defined
BlockDirectIndexBuilder(Index) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockDirectIndexBuilder
 
BlockDirectIndexInputStream - Class in uk.ac.gla.terrier.structures
This class reads the block field direct index structure sequentially, as an input stream.
BlockDirectIndexInputStream() - Constructor for class uk.ac.gla.terrier.structures.BlockDirectIndexInputStream
A default constructor for the class that opens the direct file and the document index file with the default names
BlockDirectIndexInputStream(String, String) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectIndexInputStream
 
BlockDirectIndexInputStream(String, String, DocumentIndexInputStream) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectIndexInputStream
 
BlockDirectInvertedOutputStream - Class in uk.ac.gla.terrier.structures
Writes a block direct or block inverted index, when passed appropriate posting lists.
BlockDirectInvertedOutputStream(String, int) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectInvertedOutputStream
Creates a new output stream, writing a BitOutputStream to the specified file.
BlockDirectInvertedOutputStream(BitOut, int) - Constructor for class uk.ac.gla.terrier.structures.BlockDirectInvertedOutputStream
Creates a new output stream, writing to the specified BitOut implementation.
BlockDocumentPostingList - Class in uk.ac.gla.terrier.structures.indexing
Represents the postings of one document, and saves block (term position) information.
BlockDocumentPostingList() - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockDocumentPostingList
Instantiate a new block document posting list.
BlockDocumentPostingList(int) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockDocumentPostingList
Instantiate a new block document posting list.
BlockFieldMemoryPostings - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Class for handling posting lists containing block and field information in memory while indexing.
BlockFieldMemoryPostings() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockFieldMemoryPostings
 
BlockFieldPosting - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Class representing a posting list in memory containing fields and block iformation.
BlockFieldPosting() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockFieldPosting
 
BlockFieldPostingInRun - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Class holding the information for a posting list read from a previously written run at disk.
BlockFieldPostingInRun() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockFieldPostingInRun
Constructor for the class.
BlockIndexer - Class in uk.ac.gla.terrier.indexing
An indexer that saves block information for the indexed terms.
BlockIndexer(String, String) - Constructor for class uk.ac.gla.terrier.indexing.BlockIndexer
Constructs an instance of this class, where the created data structures are stored in the given path, with the given prefix on the filenames.
BlockInverted2DirectIndexBuilder - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Create a block direct index from a BlockInvertedIndex.
BlockInverted2DirectIndexBuilder(Index) - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockInverted2DirectIndexBuilder
 
BlockInvertedIndex - Class in uk.ac.gla.terrier.structures
This class implements the block field inverted index for performing retrieval.
BlockInvertedIndex(Lexicon) - Constructor for class uk.ac.gla.terrier.structures.BlockInvertedIndex
Creates an instance of the BlockInvertedIndex class using the given lexicon.
BlockInvertedIndex(Lexicon, String, String) - Constructor for class uk.ac.gla.terrier.structures.BlockInvertedIndex
 
BlockInvertedIndex(Lexicon, String) - Constructor for class uk.ac.gla.terrier.structures.BlockInvertedIndex
Creates an instance of the BlockInvertedIndex class using the given lexicon.
BlockInvertedIndexBuilder - Class in uk.ac.gla.terrier.structures.indexing
Builds an inverted index saving term-block information.
BlockInvertedIndexBuilder() - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockInvertedIndexBuilder
Deprecated.  
BlockInvertedIndexBuilder(String) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockInvertedIndexBuilder
Deprecated. use this() or this(String, String) instead
BlockInvertedIndexBuilder(String, String) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockInvertedIndexBuilder
Deprecated.  
BlockInvertedIndexBuilder(Index) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockInvertedIndexBuilder
 
BlockInvertedIndexInputStream - Class in uk.ac.gla.terrier.structures
Reads a BlockInvertedIndex as a stream
BlockInvertedIndexInputStream(String, String, LexiconInputStream) - Constructor for class uk.ac.gla.terrier.structures.BlockInvertedIndexInputStream
Make a new BlockInvertedIndexInputStream from the specified path/prefix combo.
BlockInvertedIndexInputStream(String, LexiconInputStream) - Constructor for class uk.ac.gla.terrier.structures.BlockInvertedIndexInputStream
Make a new BlockInvertedIndexInputStream from the specified filename.
BlockInvertedIndexInputStream(BitIn, LexiconInputStream) - Constructor for class uk.ac.gla.terrier.structures.BlockInvertedIndexInputStream
 
BlockLexicon - Class in uk.ac.gla.terrier.structures
A lexicon class that saves the number of different blocks a term appears in.
BlockLexicon() - Constructor for class uk.ac.gla.terrier.structures.BlockLexicon
A default constructor.
BlockLexicon(String) - Constructor for class uk.ac.gla.terrier.structures.BlockLexicon
Constructs an instace of BlockLexicon and opens the corresponding file.
BlockLexicon(String, String) - Constructor for class uk.ac.gla.terrier.structures.BlockLexicon
 
BlockLexiconBuilder - Class in uk.ac.gla.terrier.structures.indexing
Builds a block lexicon using block frequencies.
BlockLexiconBuilder() - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockLexiconBuilder
A default constructor of the class.
BlockLexiconBuilder(String, String) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockLexiconBuilder
Creates an instance of the class, given the path to save the final and temporary lexicons.
BlockLexiconBuilder(Index) - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockLexiconBuilder
 
BlockLexiconInputStream - Class in uk.ac.gla.terrier.structures
An input stream for accessing sequentially the entries of a block lexicon.
BlockLexiconInputStream() - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconInputStream
A default constructor.
BlockLexiconInputStream(String) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconInputStream
A constructor given the filename.
BlockLexiconInputStream(String, String) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconInputStream
 
BlockLexiconInputStream(File) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconInputStream
A constructor given the filename.
BlockLexiconInputStream(DataInput) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconInputStream
Read a lexicon from the specified input stream
BlockLexiconMap - Class in uk.ac.gla.terrier.structures.indexing
LexiconMap implementation that also keeps track of the number of blocks that a term occurrs in.
BlockLexiconMap() - Constructor for class uk.ac.gla.terrier.structures.indexing.BlockLexiconMap
 
BlockLexiconOutputStream - Class in uk.ac.gla.terrier.structures
An output stream for writing the lexicon to a file sequentially.
BlockLexiconOutputStream() - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconOutputStream
A default constructor.
BlockLexiconOutputStream(String) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconOutputStream
A constructor given the filename.
BlockLexiconOutputStream(File) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconOutputStream
A constructor given the file.
BlockLexiconOutputStream(DataOutput) - Constructor for class uk.ac.gla.terrier.structures.BlockLexiconOutputStream
Create a lexicon using the specified data stream
BlockMemoryPostings - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Class for handling posting lists containing block information in memory while indexing.
BlockMemoryPostings() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockMemoryPostings
 
BlockPosting - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Class representing a posting list in memory with block information It keeps the information for DF, TF, and the sequence [doc, tf, blockCount, [blockId]]
BlockPosting() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockPosting
 
BlockPostingInRun - Class in uk.ac.gla.terrier.structures.indexing.singlepass
Class holding the information for a posting list read from a previously written run at disk.
BlockPostingInRun() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.BlockPostingInRun
Constructor for the class.
BlockScoreModifier - Class in uk.ac.gla.terrier.matching.dsms
This class modifers the scores of documents based on the position of the query terms in the document.
BlockScoreModifier() - Constructor for class uk.ac.gla.terrier.matching.dsms.BlockScoreModifier
 
BlockSinglePassIndexer - Class in uk.ac.gla.terrier.indexing
Indexes a document collection saving block information for the indexed terms.
BlockSinglePassIndexer(String, String) - Constructor for class uk.ac.gla.terrier.indexing.BlockSinglePassIndexer
 
BlockStructureMerger - Class in uk.ac.gla.terrier.structures.merging
This class merges two sets of data structures (ie direct index, inverted index, document index, lexicon and statistics), created by Terrier with position information (blocks) and possibly field information, into one set of data structures.
BlockStructureMerger(String, String) - Constructor for class uk.ac.gla.terrier.structures.merging.BlockStructureMerger
Deprecated.  
BlockStructureMerger(Index, Index, Index) - Constructor for class uk.ac.gla.terrier.structures.merging.BlockStructureMerger
 
BM - Class in uk.ac.gla.terrier.matching.models.basicmodel
This class implements the BM weighting model, which generates the original weight given by the BM25 formula, without frequency normalisation and query term weighting.
BM() - Constructor for class uk.ac.gla.terrier.matching.models.basicmodel.BM
A default constructor.
BM25 - Class in uk.ac.gla.terrier.matching.models
This class implements the Okapi BM25 weighting model.
BM25() - Constructor for class uk.ac.gla.terrier.matching.models.BM25
A default constructor.
Bo1 - Class in uk.ac.gla.terrier.matching.models.queryexpansion
This class implements the Bo1 model for query expansion.
Bo1() - Constructor for class uk.ac.gla.terrier.matching.models.queryexpansion.Bo1
A default constructor.
Bo2 - Class in uk.ac.gla.terrier.matching.models.queryexpansion
This class implements the Bo2 model for query expansion.
Bo2() - Constructor for class uk.ac.gla.terrier.matching.models.queryexpansion.Bo2
A default constructor.
BooleanFallback - Class in uk.ac.gla.terrier.matching.dsms
This class provides a boolean fallback document score modifier for matching.
BooleanFallback() - Constructor for class uk.ac.gla.terrier.matching.dsms.BooleanFallback
 
BooleanScoreModifier - Class in uk.ac.gla.terrier.matching.dsms
If not all the query terms appear in a document, then this modifier zeros the document's score.
BooleanScoreModifier() - Constructor for class uk.ac.gla.terrier.matching.dsms.BooleanScoreModifier
An empty default constructor.
BooleanScoreModifier(ArrayList) - Constructor for class uk.ac.gla.terrier.matching.dsms.BooleanScoreModifier
A constructor where we specify which of the query terms should exist in the documents.
br - Variable in class uk.ac.gla.terrier.indexing.TRECFullTokenizer
The input reader.
Br - Class in uk.ac.gla.terrier.matching.models.basicmodel
This class implements the Bernoulli model of randomness
Br() - Constructor for class uk.ac.gla.terrier.matching.models.basicmodel.Br
A default constructor.
build(DataInput) - Method in class uk.ac.gla.terrier.structures.FilePosition
unseralize this object from the named dataoutput instance
BUNDLE_SIZE - Static variable in class uk.ac.gla.terrier.utility.ApplicationSetup
The number of documents to be processed as a group during indexing.
ByMapPartitioner - Class in uk.ac.gla.terrier.structures.indexing.singlepass.hadoop
Partitions the term postings lists from the map function, such that the created indexes is partitioned evenly across the reducers.
ByMapPartitioner() - Constructor for class uk.ac.gla.terrier.structures.indexing.singlepass.hadoop.ByMapPartitioner
 
Bytes - Variable in class uk.ac.gla.terrier.structures.FilePosition
The offset within a file in bytes.

Terrier IR Platform
2.2.1
A B C D E F G H I J K L M N O P Q R S T U V W
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow