Package | Description |
---|---|
org.terrier.matching |
Provides the classes and interfaces used for matching documents
to queries.
|
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.matchops |
This package contains matching Operators.
|
org.terrier.matching.taat |
Provides classes that implement a term-at-a-time (TAAT) matching strategy.
|
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.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 | Field and Description |
---|---|
protected List<IterablePosting> |
PostingListManager.termPostings
posting lists for each term
|
Modifier and Type | Method and Description |
---|---|
IterablePosting |
PostingListManager.getPosting(int i)
Returns the IterablePosting corresponding to the specified term
|
Modifier and Type | Method and Description |
---|---|
protected void |
ScoringMatching.assignScore(int offset,
int docid,
double score,
IterablePosting[] postings) |
Modifier and Type | Method and Description |
---|---|
protected void |
DependenceScoreModifier.doDependency(Index index,
EntryStatistics[] es,
IterablePosting[] ips,
ResultSet rs,
double[] phraseTermWeights,
boolean SD)
Calculates dependence scores for all documents, putting the scores into the ResultSet rs
|
protected void |
DependenceScoreModifier.openPostingLists(Index index,
LexiconEntry[] les,
IterablePosting[] ips)
Opens the posting list for an index and lexicon entry
|
Modifier and Type | Method and Description |
---|---|
protected IterablePosting |
UnorderedWindowOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected IterablePosting |
SynonymOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected IterablePosting |
PhraseOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected abstract IterablePosting |
MultiTermOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected IterablePosting |
ANDQueryOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
IterablePosting |
MatchingEntry.getPostingIterator() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> |
SingleTermOp.getPostingIterator(Index index) |
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> |
PrefixTermOp.getPostingIterator(Index index) |
abstract org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> |
Operator.getPostingIterator(Index index)
get posting iterator for this query op.
|
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> |
MultiTermOp.getPostingIterator(Index index) |
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> |
DateRangeOp.getPostingIterator(Index index) |
Modifier and Type | Method and Description |
---|---|
protected IterablePosting |
UnorderedWindowOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected IterablePosting |
SynonymOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected IterablePosting |
PhraseOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected abstract IterablePosting |
MultiTermOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected IterablePosting |
ANDQueryOp.createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
Constructor and Description |
---|
MatchingEntry(IterablePosting postingIterator,
EntryStatistics entryStats,
double keyFreq,
WeightingModel[] wmodels,
org.terrier.matching.matchops.MatchingEntry.Requirement required,
Set<String> tags) |
Modifier and Type | Method and Description |
---|---|
protected void |
Full.assignScores(int i,
AccumulatorResultSet rs,
IterablePosting postings) |
Modifier and Type | Class and Description |
---|---|
class |
MemoryIterablePosting
A postings list implementation held fully in memory.
|
Modifier and Type | Method and Description |
---|---|
IterablePosting |
MemoryInvertedIndex.InvertedIterator.getNextPostings() |
IterablePosting |
MemoryDirectIndex.getPostings(int pointer) |
IterablePosting |
MemoryInvertedIndex.getPostings(Pointer pointer)
Get the posting given a pointer
|
IterablePosting |
MemoryDirectIndex.getPostings(Pointer pointer)
Get the posting given a pointer
|
IterablePosting |
MemoryInvertedIndex.InvertedIterator.next() |
Modifier and Type | Class and Description |
---|---|
class |
MemoryFieldsIterablePosting
Iterable posting (fields).
|
Modifier and Type | Method and Description |
---|---|
IterablePosting |
MemoryFieldsInvertedIndex.getPostings(Pointer _termid)
Get the posting given a pointer
|
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 |
---|---|
IterablePosting |
MultiInverted.getPostings(Pointer _multiPointer)
Get the posting given a pointer
|
IterablePosting |
MultiDirect.getPostings(Pointer _multiPointer)
Get the posting given a pointer
|
Constructor and Description |
---|
MultiDirectIterablePostingWithOffset(IterablePosting posting,
int idoffset) |
MultiIterablePosting(IterablePosting[] constituentIPs,
int[] offsets)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IterablePosting |
PostingIndexInputStream.getNextPostings()
Return the next IterablePosting object, or null if none defined.
|
IterablePosting |
PostingIndex.getPostings(Pointer lEntry)
Get the posting given a pointer
|
Modifier and Type | Method and Description |
---|---|
abstract Class<? extends IterablePosting> |
AbstractPostingOutputStream.getPostingIteratorClass() |
Modifier and Type | Method and Description |
---|---|
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(IterablePosting postings) |
abstract BitIndexPointer |
AbstractPostingOutputStream.writePostings(IterablePosting postings,
int previousId) |
Modifier and Type | Field and Description |
---|---|
protected Constructor<? extends IterablePosting> |
BitPostingIndexInputStream.postingConstructor |
protected Constructor<? extends IterablePosting> |
BitPostingIndex.postingConstructor |
protected Class<? extends IterablePosting> |
BitPostingIndex.postingImplementation |
protected Class<? extends IterablePosting> |
BitPostingIndexInputStream.postingIteratorClass |
Modifier and Type | Method and Description |
---|---|
IterablePosting |
BitPostingIndexInputStream.getNextPostings()
Return the next IterablePosting object, or null if none defined.
|
IterablePosting |
InvertedIndex.getPostings(Pointer pointer)
Deprecated.
|
IterablePosting |
BitPostingIndex.getPostings(Pointer pointer)
Get the posting given a pointer
|
protected IterablePosting |
BitPostingIndexInputStream.loadPostingIterator(BitIndexPointer pointer) |
IterablePosting |
BitPostingIndexInputStream.next() |
Modifier and Type | Method and Description |
---|---|
Class<? extends IterablePosting> |
FieldDirectInvertedOutputStream.getPostingIteratorClass() |
Class<? extends IterablePosting> |
DirectInvertedOutputStream.getPostingIteratorClass()
Returns the IterablePosting class to use for reading structure written by this class
|
Class<? extends IterablePosting> |
BlockFieldDirectInvertedOutputStream.getPostingIteratorClass() |
Class<? extends IterablePosting> |
BlockDirectInvertedOutputStream.getPostingIteratorClass() |
Modifier and Type | Method and Description |
---|---|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(IterablePosting postings)
Write out the specified postings.
|
BitIndexPointer |
DirectInvertedOutputStream.writePostings(IterablePosting postings,
int previousId)
Write out the specified postings, but allowing the delta for the first document to be adjusted
|
Modifier and Type | Method and Description |
---|---|
protected void |
BitPostingIndex.setPostingImplementation(Class<? extends IterablePosting> postingClass) |
Constructor and Description |
---|
BitPostingIndex(IndexOnDisk _index,
String _structureName,
Class<? extends IterablePosting> _postingImplementation)
Constructs an instance of the BitPostingIndex.
|
BitPostingIndex(IndexOnDisk _index,
String _structureName,
DocumentIndex _documentIndex,
Class<? extends IterablePosting> _postingImplementation)
Constructs an instance of the BitPostingIndex.
|
BitPostingIndex(String filename,
byte fileCount,
Class<? extends IterablePosting> _postingImplementation,
String _dataSource)
Deprecated.
|
BitPostingIndex(String filename,
byte fileCount,
DocumentIndex _doi,
Class<? extends IterablePosting> _postingImplementation,
String _dataSource,
int _fieldCount) |
BitPostingIndexInputStream(IndexOnDisk _index,
String _structureName,
Iterator<? extends BitIndexPointer> _pointerList,
Class<? extends IterablePosting> _postingIteratorClass)
Constructs an instance of BitPostingIndexInputStream.
|
BlockDirectIndex(IndexOnDisk index,
String structureName,
Class<? extends IterablePosting> postingClass)
Deprecated.
Constructs an instance of the class with
|
BlockDirectIndexInputStream(IndexOnDisk index,
String structureName,
Class<? extends IterablePosting> postingClass)
Deprecated.
Constructs an index of the class with
|
BlockInvertedIndex(IndexOnDisk index,
String structureName,
DocumentIndex _doi,
Class<? extends IterablePosting> postingClass)
Deprecated.
Constructs an instance of the class with
|
BlockInvertedIndexInputStream(IndexOnDisk _index,
String _structureName,
Class<? extends IterablePosting> _postingImplementation)
Deprecated.
Construct an instance of the class with
|
BlockInvertedIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends LexiconEntry> lexInputStream,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
Construct an instance of the class with
|
DirectIndex(IndexOnDisk index,
String structureName,
Class<? extends IterablePosting> postingClass)
Deprecated.
Constructs an instance of the class with
|
DirectIndexInputStream(IndexOnDisk index,
String structureName,
Class<? extends IterablePosting> postingIterator)
Deprecated.
Constructs an instance of the class with
|
DirectIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends BitIndexPointer> _pointerList,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
|
InvertedIndex(IndexOnDisk index,
String structureName,
DocumentIndex _doi,
Class<? extends IterablePosting> postingClass)
Deprecated.
Construct an instance of the class with
|
InvertedIndexInputStream(IndexOnDisk _index,
String structureName,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
Construct an instance of the class with
|
InvertedIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends Pointer> lexInputStream,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
Construct an instance of the class with
|
Modifier and Type | Class and Description |
---|---|
protected class |
DocumentPostingList.postingIterator |
Modifier and Type | Method and Description |
---|---|
IterablePosting |
DocumentPostingList.getPostings2(TermCodes termCodes)
Returns a posting iterator suitable to be written into the direct index.
|
protected IterablePosting |
FieldDocumentPostingList.makePostingIterator(String[] _terms,
int[] termIds) |
protected IterablePosting |
DocumentPostingList.makePostingIterator(String[] _terms,
int[] termIds) |
protected IterablePosting |
BlockFieldDocumentPostingList.makePostingIterator(String[] _terms,
int[] termIds) |
protected IterablePosting |
BlockDocumentPostingList.makePostingIterator(String[] _terms,
int[] termIds) |
Modifier and Type | Method and Description |
---|---|
abstract Class<? extends IterablePosting> |
CompressionFactory.CompressionConfiguration.getPostingIteratorClass()
What is the posting iterator class for this structure
|
abstract Class<? extends Iterator<IterablePosting>> |
CompressionFactory.CompressionConfiguration.getStructureInputStreamClass()
What is the input stream class for this structure
|
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 |
---|---|
IterablePosting |
SimplePostingInRun.getPostingIterator(int runShift) |
abstract IterablePosting |
PostingInRun.getPostingIterator(int runShift)
Returns an IterablePosting object for the postings in this run
|
IterablePosting |
FieldPostingInRun.getPostingIterator(int runShift) |
IterablePosting |
BlockPostingInRun.getPostingIterator(int runShift) |
IterablePosting |
BlockFieldPostingInRun.getPostingIterator(int runShift) |
Modifier and Type | Method and Description |
---|---|
IterablePosting |
IntegerCodingPostingIndexInputStream.getNextPostings()
Return the next IterablePosting object, or null if none defined.
|
IterablePosting |
IntegerCodingPostingIndex.getPostings(Pointer _pointer) |
protected IterablePosting |
IntegerCodingPostingIndexInputStream.loadPostingIterator(BitIndexPointer pointer) |
IterablePosting |
IntegerCodingPostingIndexInputStream.next() |
Modifier and Type | Method and Description |
---|---|
Class<? extends IterablePosting> |
IntegerCodingPostingOutputStream.getPostingIteratorClass()
Returns the IterablePosting class to use for reading structure written by
this class
|
Class<? extends IterablePosting> |
IntegerCodecCompressionConfiguration.getPostingIteratorClass() |
Class<? extends Iterator<IterablePosting>> |
IntegerCodecCompressionConfiguration.getStructureInputStreamClass() |
Modifier and Type | Method and Description |
---|---|
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(IterablePosting postings)
Write out the specified postings.
|
BitIndexPointer |
IntegerCodingPostingOutputStream.writePostings(IterablePosting postings,
int previousId) |
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 |
BlockFieldORIterablePosting
ORIterablePosting implementation that implements FieldPosting and BlockPosting
|
class |
BlockORIterablePosting
ORIterablePosting implementation that implements BlockPosting
|
class |
FieldOnlyIterablePosting
This class takes an IterablePosting list that has fields,
and makes it appear as a single basic posting list.
|
class |
FieldORIterablePosting
ORIterablePosting implementation that implements FieldPosting
|
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 | Field and Description |
---|---|
protected IterablePosting[] |
ANDIterablePosting.ips |
Modifier and Type | Method and Description |
---|---|
static IterablePosting |
PhraseIterablePosting.createPhrasePostingList(Pointer[] ps,
PostingIndex<Pointer> invIndex,
boolean savePositions) |
static IterablePosting |
PhraseIterablePosting.createPhrasePostingList(String[] terms,
Lexicon<String> lex,
PostingIndex<Pointer> invIndex,
boolean savePositions) |
static IterablePosting |
ProximityIterablePosting.createProximityPostingList(Pointer[] ps,
PostingIndex<Pointer> invIndex,
int blockDistance) |
static IterablePosting |
ProximityIterablePosting.createProximityPostingList(String[] terms,
Lexicon<String> lex,
PostingIndex<Pointer> invIndex,
int blockDistance) |
Modifier and Type | Method and Description |
---|---|
static int[][] |
PostingUtil.getAllPostings(IterablePosting ip)
Get an array of all the ids in a given IterablePosting stream,
where the length of the stream is known
|
static int[][] |
PostingUtil.getAllPostings(IterablePosting ip,
int numPointers)
Get an array of all the ids and frequencies in a given IterablePosting stream,
where the length of the stream is unknown
|
static int[][] |
PostingUtil.getAllPostingsWithFields(IterablePosting ip,
int numPointers,
int fieldCount)
Get an array of all the ids in a given IterablePosting stream,
where the length of the stream is known
|
static int[] |
PostingUtil.getIds(IterablePosting ip)
Get an array of all the ids in a given IterablePosting stream
|
static int[] |
PostingUtil.getIds(IterablePosting ip,
int numPointers)
Get an array of all the ids in a given IterablePosting stream,
where the length of the stream is known
|
static ORIterablePosting |
ORIterablePosting.mergePostings(IterablePosting[] ips)
Factory method to create an appropriate ORIterablePosting from the specified IterablePostings.
|
static int |
PostingUtil.selectMinimumDocId(IterablePosting[] postingListArray)
Returns the minimum docid of the current postings in the array of IterablePostings
|
Constructor and Description |
---|
ANDIterablePosting(IterablePosting[] _ips,
EntryStatistics[] _p) |
ANDIterablePosting(IterablePosting[] _ips,
Pointer[] _p) |
BlockFieldORIterablePosting(IterablePosting[] ips)
Constructs an instance of the BlockFieldORIterablePosting
|
BlockORIterablePosting(IterablePosting[] ips)
Construct an intance of the BlockORIterablePosting.
|
FieldOnlyIterablePosting(IterablePosting _ip,
int _fieldId) |
FieldORIterablePosting(IterablePosting[] ips)
Constructs an instance of FieldORIterablePosting.
|
ORIterablePosting(IterablePosting[] ips)
Create a Basic ORIterablePosting from the specified postings
|
PhraseIterablePosting(IterablePosting[] _ips,
EntryStatistics[] _p,
boolean recordPositions) |
PhraseIterablePosting(IterablePosting[] _ips,
Pointer[] _p,
boolean recordPositions) |
ProximityIterablePosting(IterablePosting[] _ips,
EntryStatistics[] _es,
int window) |
ProximityIterablePosting(IterablePosting[] _ips,
Pointer[] _p,
int window) |
Modifier and Type | Class and Description |
---|---|
class |
BasicIterablePosting |
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 Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow