Package | Description |
---|---|
org.terrier.matching.daat |
Provides classes that implement a document-at-a-time (DAAT) matching strategy.
|
org.terrier.matching.dsms |
Provides the interface and the classes for modifying the scores
of documents after an score has been assigned to documents, or
implementing the combination of evidence.
|
org.terrier.matching.models |
Provides the classes that implement various weighting models.
|
org.terrier.matching.tsms |
Provides the interface and classes that implement the term
score modifiers, which modify the scores assigned to documents
for a particular term.
|
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.bit |
Provides on-disk index structures that support the older bit-level compression scheme.
|
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
|
org.terrier.structures.indexing.singlepass.hadoop |
Provides classes implemeting the Hadoop MapReduce indexing in Terrier.
|
org.terrier.structures.integer |
Provides generic posting index classes that support byte-level compression.
|
org.terrier.structures.postings |
Provides classes representing single postings and atreams of postings in a posting list
(e.g.
|
org.terrier.structures.postings.bit |
Provides bit-level IterablePosting implementations.
|
org.terrier.structures.postings.integer |
Provides byte-level IterablePosting implementations.
|
Modifier and Type | Method and Description |
---|---|
protected double |
FullNoPLM.scoreIt(WeightingModel[] wModels,
Posting posting)
calculate the score for this posting using the specified weighting models
|
Modifier and Type | Method and Description |
---|---|
double |
DependenceScoreModifier.score(Posting[] postings)
Calculate the score for a document (from the given posting for that document)
|
protected double |
DependenceScoreModifier.scoreFDSD(boolean SD,
int i,
Posting ip1,
int j,
Posting ip2,
double _avgDocLen)
how likely is it that these two postings have so many near-occurrences,
given the length of this document
|
Modifier and Type | Method and Description |
---|---|
abstract double |
StaticScoreModifierWeightingModel.score(Posting p) |
double |
StaticFeature.score(Posting p) |
double |
WeightingModel.score(Posting p)
Returns score
|
double |
SingleFieldModel.score(Posting _p) |
double |
PerFieldNormWeightingModel.score(Posting _p) |
double |
ML2.score(Posting _p)
Returns score
|
double |
MDL2.score(Posting _p)
Returns score
|
Modifier and Type | Method and Description |
---|---|
double |
TermInFieldModifier.score(Posting _p)
Returns score
|
double |
RequiredTermModifier.score(Posting p)
Returns score
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryIterablePosting
A postings list implementation held fully in memory.
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryFieldsIterablePosting
Iterable posting (fields).
|
Modifier and Type | Class and Description |
---|---|
class |
MultiDirectIterablePostingWithOffset
This acts as a wrapper class that surrounds an IterablePosting object.
|
class |
MultiIterablePosting
A posting list implementation used within a MultiIndex.
|
Modifier and Type | Method and Description |
---|---|
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(Iterator<Posting> iterator) |
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(Iterator<Posting> iterator,
int previousId) |
Modifier and Type | Method and Description |
---|---|
protected void |
FieldDirectInvertedOutputStream.writePostingNotDocid(Posting _p) |
protected void |
DirectInvertedOutputStream.writePostingNotDocid(Posting p)
Hook method for writing out the remainder of the posting
|
protected void |
DirectInvertedDocidOnlyOuptutStream.writePostingNotDocid(Posting p) |
protected void |
BlockFieldDirectInvertedOutputStream.writePostingNotDocid(Posting _p) |
protected void |
BlockDirectInvertedOutputStream.writePostingNotDocid(Posting _p) |
Modifier and Type | Method and Description |
---|---|
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 | Class and Description |
---|---|
protected class |
DocumentPostingList.postingIterator |
Modifier and Type | Class and Description |
---|---|
protected class |
BlockFieldPostingInRun.bfPIRPostingIterator |
protected class |
BlockPostingInRun.BlockPIRPostingIterator |
protected class |
FieldPostingInRun.fPIRPostingIterator |
protected class |
SimplePostingInRun.PIRPostingIterator |
Modifier and Type | Method and Description |
---|---|
void |
Inv2DirectMultiReduce.map(org.apache.hadoop.io.IntWritable termId,
Wrapper<IterablePosting> postingWrapper,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.VIntWritable,Posting> collector,
org.apache.hadoop.mapred.Reporter reporter)
Take an iterator of postings.
|
void |
Inv2DirectMultiReduce.reduce(org.apache.hadoop.io.VIntWritable _targetDocid,
Iterator<Posting> documentPostings,
org.apache.hadoop.mapred.OutputCollector<Object,Object> collector,
org.apache.hadoop.mapred.Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(Iterator<Posting> iterator) |
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(Iterator<Posting> iterator,
int previousId) |
Modifier and Type | Interface and Description |
---|---|
interface |
BlockPosting
Interface implemented by Posting objects that have position information
recorded.
|
interface |
FieldPosting
Interface implemented by Posting objects that have field information
recorded.
|
interface |
IterablePosting
An interface that allows a list of postings to be iterated over
|
interface |
WritablePosting
Allow a
Posting to be written to a DataOut |
Modifier and Type | Class and Description |
---|---|
class |
ANDIterablePosting
An instance of IterablePostings that works with passed arrays of ids and frequencies.
|
class |
ArrayOfBasicIterablePosting
An instance of IterablePostings that works with passed arrays of ids and frequencies
|
class |
ArrayOfBlockFieldIterablePosting
An array structure that golds BlockFieldIterablePostings
|
class |
ArrayOfBlockIterablePosting
An array structure that golds BlockIterablePostings
|
class |
ArrayOfFieldIterablePosting
An instance of IterablePostings that works with passed arrays of ids and frequencies
for each field.
|
class |
ArrayOfIdsIterablePosting
An instance of IterablePostings that works with a passed array of ids
|
class |
BasicPostingImpl
Implementation of a Posting that is non-iterable.
|
class |
BlockFieldORIterablePosting
ORIterablePosting implementation that implements FieldPosting and BlockPosting
|
class |
BlockFieldPostingImpl
A writable block field posting list
|
class |
BlockORIterablePosting
ORIterablePosting implementation that implements BlockPosting
|
class |
BlockPostingImpl
BlockPostingImpl class
|
class |
FieldORIterablePosting
ORIterablePosting implementation that implements FieldPosting
|
class |
FieldPostingImpl
Implementation of a posting containing fields
|
class |
IterablePostingImpl
A base implementation of an IterablePosting, that provides
a base implementation of next(int) method.
|
class |
ORIterablePosting
An IterablePosting that combines more than one IterablePosting into a single IterablePosting.
|
class |
PhraseIterablePosting
Implementation of an IterablePosting for block indices that returns
only documents that match a multi-term phase.
|
class |
ProximityIterablePosting
Implementation of an IterablePosting for block indices that returns
only documents that match phases within a fixed window size.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ORIterablePosting.addPosting(Posting p) |
protected void |
FieldORIterablePosting.addPosting(Posting _p) |
protected void |
BlockORIterablePosting.addPosting(Posting p) |
protected void |
BlockFieldORIterablePosting.addPosting(Posting p) |
int |
PostingIdComparator.compare(Posting o1,
Posting o2)
Compare Posting objects by id
|
protected void |
ORIterablePosting.firstPosting(Posting p) |
protected void |
FieldORIterablePosting.firstPosting(Posting _p) |
protected void |
BlockORIterablePosting.firstPosting(Posting p) |
protected void |
BlockFieldORIterablePosting.firstPosting(Posting p) |
Modifier and Type | Class and Description |
---|---|
class |
BasicIterablePosting
Basic inverted and direct index format: [gamma(first docid +1) unary (frequency)], [gamma(delta docid) unary(frequency)]
|
class |
BasicIterablePostingDocidOnly
Posting iterator class that only returns identifiers, not frequencies.
|
class |
BlockFieldIterablePosting
class BlockFieldIterablePosting
|
class |
BlockIterablePosting
A writable block iterable posting list
|
class |
FieldIterablePosting
A posting iterator for field postings.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicIntegerCodingIterablePosting
An IterablePosting implementation, which can optionally support fields and/or blocks.
|
class |
BlockFieldIntegerCodingIterablePosting
An IterablePosting implementation, which can optionally support fields and/or blocks.
|
class |
BlockIntegerCodingIterablePosting
An IterablePosting implementation, which can optionally support blocks
|
class |
FieldIntegerCodingIterablePosting
An IterablePosting implementation, which can optionally support Fields
|
class |
IntegerCodingIterablePosting
Deprecated.
|
Terrier 4.0. Copyright © 2004-2014 University of Glasgow