Uses of Interface
org.terrier.structures.postings.IterablePosting
-
Packages that use IterablePosting 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 interfaces for the index 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.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. -
-
Uses of IterablePosting in org.terrier.matching
Fields in org.terrier.matching with type parameters of type IterablePosting Modifier and Type Field Description protected java.util.List<IterablePosting>
PostingListManager. termPostings
posting lists for each termMethods in org.terrier.matching that return IterablePosting Modifier and Type Method Description IterablePosting
PostingListManager. getPosting(int i)
Returns the IterablePosting corresponding to the specified termMethods in org.terrier.matching with parameters of type IterablePosting Modifier and Type Method Description protected void
ScoringMatching. assignScore(int offset, int docid, double score, IterablePosting[] postings)
protected void
ScoringMatchingWithFat. assignScore(int offset, int docid, double score, IterablePosting[] postings)
-
Uses of IterablePosting in org.terrier.matching.dsms
Methods in org.terrier.matching.dsms with parameters of type IterablePosting Modifier and Type Method 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 rsprotected void
DependenceScoreModifier. openPostingLists(Index index, LexiconEntry[] les, IterablePosting[] ips)
Opens the posting list for an index and lexicon entry -
Uses of IterablePosting in org.terrier.matching.matchops
Methods in org.terrier.matching.matchops that return IterablePosting Modifier and Type Method Description protected IterablePosting
ANDQueryOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected abstract IterablePosting
MultiTermOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected IterablePosting
PhraseOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected IterablePosting
SynonymOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected IterablePosting
UnorderedWindowOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
IterablePosting
MatchingEntry. getPostingIterator()
Methods in org.terrier.matching.matchops that return types with arguments of type IterablePosting Modifier and Type Method Description org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>
DateRangeOp. getPostingIterator(Index index)
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>
MultiTermOp. 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>
PrefixTermOp. getPostingIterator(Index index)
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>
SingleTermOp. getPostingIterator(Index index)
Method parameters in org.terrier.matching.matchops with type arguments of type IterablePosting Modifier and Type Method Description protected IterablePosting
ANDQueryOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected abstract IterablePosting
MultiTermOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected IterablePosting
PhraseOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected IterablePosting
SynonymOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
protected IterablePosting
UnorderedWindowOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)
Constructors in org.terrier.matching.matchops with parameters of type IterablePosting Constructor Description MatchingEntry(IterablePosting postingIterator, EntryStatistics entryStats, double keyFreq, WeightingModel[] wmodels, org.terrier.matching.matchops.MatchingEntry.Requirement required, java.util.Set<java.lang.String> tags)
-
Uses of IterablePosting in org.terrier.matching.taat
Methods in org.terrier.matching.taat with parameters of type IterablePosting Modifier and Type Method Description protected void
Full. assignScores(BaseMatching.MatchingState state, int i, AccumulatorResultSet rs, IterablePosting postings)
-
Uses of IterablePosting in org.terrier.realtime.memory
Classes in org.terrier.realtime.memory that implement IterablePosting Modifier and Type Class Description class
MemoryDirectIterablePosting
Provides iteration capabilities over a Memory Direct Postingclass
MemoryIterablePosting
A postings list implementation held fully in memory.Methods in org.terrier.realtime.memory that return IterablePosting Modifier and Type Method Description IterablePosting
MemoryDirectIndex.DirectIterator. getNextPostings()
IterablePosting
MemoryInvertedIndex.InvertedIterator. getNextPostings()
IterablePosting
MemoryDirectIndex. getPostings(int pointer)
IterablePosting
MemoryDirectIndex. getPostings(Pointer pointer)
IterablePosting
MemoryInvertedIndex. getPostings(Pointer pointer)
Returns the posting iterator given a pointer.IterablePosting
MemoryDirectIndex.DirectIterator. next()
IterablePosting
MemoryInvertedIndex.InvertedIterator. next()
-
Uses of IterablePosting in org.terrier.realtime.memory.fields
Classes in org.terrier.realtime.memory.fields that implement IterablePosting Modifier and Type Class Description class
MemoryFieldsDirectIterablePosting
class
MemoryFieldsIterablePosting
Iterable posting (fields).Methods in org.terrier.realtime.memory.fields that return IterablePosting Modifier and Type Method Description IterablePosting
MemoryFieldsDirectIndex. getPostings(int docid)
IterablePosting
MemoryFieldsInvertedIndex. getPostings(Pointer _termid)
Returns the posting iterator given a pointer. -
Uses of IterablePosting in org.terrier.realtime.multi
Classes in org.terrier.realtime.multi that implement IterablePosting Modifier and Type Class Description class
BlockMultiDirectIterablePosting
class
BlockMultiIterablePosting
class
MultiDirectIterablePosting
This acts as a wrapper class that surrounds an IterablePosting object.class
MultiIterablePosting
A posting list implementation used within a MultiIndex.Methods in org.terrier.realtime.multi that return IterablePosting Modifier and Type Method Description IterablePosting
MultiDirect. getPostings(Pointer _multiPointer)
Returns the posting iterator given a pointer.IterablePosting
MultiInverted. getPostings(Pointer _multiPointer)
Returns the posting iterator given a pointer.Methods in org.terrier.realtime.multi with parameters of type IterablePosting Modifier and Type Method Description static MultiDirectIterablePosting
MultiDirectIterablePosting. of(IterablePosting ip, MultiLexicon lex, int shard, boolean blocks, boolean fields)
Constructors in org.terrier.realtime.multi with parameters of type IterablePosting Constructor Description BlockMultiDirectIterablePosting(IterablePosting posting, MultiLexicon lex, int shard)
BlockMultiIterablePosting(IterablePosting[] constituentIPs, int[] offsets)
MultiDirectIterablePosting(IterablePosting posting, MultiLexicon lex, int shard)
MultiIterablePosting(IterablePosting[] constituentIPs, int[] offsets)
Constructor. -
Uses of IterablePosting in org.terrier.structures
Methods in org.terrier.structures that return IterablePosting Modifier and Type Method Description IterablePosting
PostingIndexInputStream. getNextPostings()
Return the next IterablePosting object, or null if none defined.IterablePosting
PostingIndex. getPostings(Pointer lEntry)
Returns the posting iterator given a pointer.Methods in org.terrier.structures that return types with arguments of type IterablePosting Modifier and Type Method Description abstract java.lang.Class<? extends IterablePosting>
AbstractPostingOutputStream. getPostingIteratorClass()
Methods in org.terrier.structures with parameters of type IterablePosting Modifier and Type Method Description abstract BitIndexPointer
AbstractPostingOutputStream. writePostings(IterablePosting postings)
abstract BitIndexPointer
AbstractPostingOutputStream. writePostings(IterablePosting postings, int previousId)
-
Uses of IterablePosting in org.terrier.structures.bit
Fields in org.terrier.structures.bit with type parameters of type IterablePosting Modifier and Type Field Description protected java.lang.reflect.Constructor<? extends IterablePosting>
BitPostingIndex. postingConstructor
protected java.lang.reflect.Constructor<? extends IterablePosting>
BitPostingIndexInputStream. postingConstructor
protected java.lang.Class<? extends IterablePosting>
BitPostingIndex. postingImplementation
protected java.lang.Class<? extends IterablePosting>
BitPostingIndexInputStream. postingIteratorClass
Methods in org.terrier.structures.bit that return IterablePosting Modifier and Type Method Description IterablePosting
BitPostingIndexInputStream. getNextPostings()
Return the next IterablePosting object, or null if none defined.IterablePosting
BitPostingIndex. getPostings(Pointer _pointer)
Returns the posting iterator given a pointer.protected IterablePosting
BitPostingIndexInputStream. loadPostingIterator(BitIndexPointer pointer)
IterablePosting
BitPostingIndexInputStream. next()
Methods in org.terrier.structures.bit that return types with arguments of type IterablePosting Modifier and Type Method Description java.lang.Class<? extends IterablePosting>
BlockDirectInvertedOutputStream. getPostingIteratorClass()
java.lang.Class<? extends IterablePosting>
BlockFieldDirectInvertedOutputStream. getPostingIteratorClass()
java.lang.Class<? extends IterablePosting>
DirectInvertedOutputStream. getPostingIteratorClass()
Returns the IterablePosting class to use for reading structure written by this classjava.lang.Class<? extends IterablePosting>
FieldDirectInvertedOutputStream. getPostingIteratorClass()
Methods in org.terrier.structures.bit with parameters of type IterablePosting Modifier and Type Method 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 adjustedMethod parameters in org.terrier.structures.bit with type arguments of type IterablePosting Modifier and Type Method Description protected void
BitPostingIndex. setPostingImplementation(java.lang.Class<? extends IterablePosting> postingClass)
Constructor parameters in org.terrier.structures.bit with type arguments of type IterablePosting Constructor Description BitPostingIndex(java.lang.String filename, byte fileCount, java.lang.Class<? extends IterablePosting> _postingImplementation, java.lang.String _dataSource)
Deprecated.BitPostingIndex(java.lang.String filename, byte fileCount, DocumentIndex _doi, java.lang.Class<? extends IterablePosting> _postingImplementation, java.lang.String _dataSource, int _fieldCount)
BitPostingIndex(IndexOnDisk _index, java.lang.String _structureName, java.lang.Class<? extends IterablePosting> _postingImplementation)
Constructs an instance of the BitPostingIndex.BitPostingIndex(IndexOnDisk _index, java.lang.String _structureName, DocumentIndex _documentIndex, java.lang.Class<? extends IterablePosting> _postingImplementation)
Constructs an instance of the BitPostingIndex.BitPostingIndexInputStream(IndexOnDisk _index, java.lang.String _structureName, java.util.Iterator<? extends BitIndexPointer> _pointerList, java.lang.Class<? extends IterablePosting> _postingIteratorClass)
Constructs an instance of BitPostingIndexInputStream. -
Uses of IterablePosting in org.terrier.structures.indexing
Classes in org.terrier.structures.indexing that implement IterablePosting Modifier and Type Class Description protected class
DocumentPostingList.postingIterator
Methods in org.terrier.structures.indexing that return IterablePosting Modifier and Type Method Description IterablePosting
DocumentPostingList. getPostings2(TermCodes termCodes)
Returns a posting iterator suitable to be written into the direct index.protected IterablePosting
BlockDocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)
protected IterablePosting
BlockFieldDocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)
protected IterablePosting
DocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)
protected IterablePosting
FieldDocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)
Methods in org.terrier.structures.indexing that return types with arguments of type IterablePosting Modifier and Type Method Description abstract java.lang.Class<? extends IterablePosting>
CompressionFactory.CompressionConfiguration. getPostingIteratorClass()
What is the posting iterator class for this structureabstract java.lang.Class<? extends java.util.Iterator<IterablePosting>>
CompressionFactory.CompressionConfiguration. getStructureInputStreamClass()
What is the input stream class for this structure -
Uses of IterablePosting in org.terrier.structures.postings
Classes in org.terrier.structures.postings that implement IterablePosting Modifier and Type Class 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 frequenciesclass
ArrayOfBlockFieldIterablePosting
An array structure that golds BlockFieldIterablePostingsclass
ArrayOfBlockIterablePosting
An array structure that golds BlockIterablePostingsclass
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 idsclass
BlockFieldORIterablePosting
ORIterablePosting implementation that implements FieldPosting and BlockPostingclass
BlockORIterablePosting
ORIterablePosting implementation that implements BlockPostingclass
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 FieldPostingclass
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.Fields in org.terrier.structures.postings declared as IterablePosting Modifier and Type Field Description protected IterablePosting[]
ANDIterablePosting. ips
Methods in org.terrier.structures.postings that return IterablePosting Modifier and Type Method Description static IterablePosting
PhraseIterablePosting. createPhrasePostingList(java.lang.String[] terms, Lexicon<java.lang.String> lex, PostingIndex<Pointer> invIndex, boolean savePositions)
static IterablePosting
PhraseIterablePosting. createPhrasePostingList(Pointer[] ps, PostingIndex<Pointer> invIndex, boolean savePositions)
static IterablePosting
ProximityIterablePosting. createProximityPostingList(java.lang.String[] terms, Lexicon<java.lang.String> lex, PostingIndex<Pointer> invIndex, int blockDistance)
static IterablePosting
ProximityIterablePosting. createProximityPostingList(Pointer[] ps, PostingIndex<Pointer> invIndex, int blockDistance)
Methods in org.terrier.structures.postings with parameters of type IterablePosting Modifier and Type Method Description static void
PostingTestUtils. compareBlockFieldPostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)
static void
PostingTestUtils. compareBlockPostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)
static void
PostingTestUtils. compareFieldPostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)
static void
PostingTestUtils. comparePostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)
static void
PostingTestUtils. comparePostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings, boolean docidsOnly)
static void
PostingTestUtils. comparePostingsDocids(java.util.List<Posting> inputPostings, IterablePosting outputPostings)
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 knownstatic 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 unknownstatic 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 knownstatic int[]
PostingUtil. getIds(IterablePosting ip)
Get an array of all the ids in a given IterablePosting streamstatic 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 knownstatic 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 IterablePostingsstatic void
PostingTestUtils. testPostingIds(IterablePosting ip, int[] ids)
Constructors in org.terrier.structures.postings with parameters of type IterablePosting Constructor Description ANDIterablePosting(IterablePosting[] _ips, EntryStatistics[] _p)
ANDIterablePosting(IterablePosting[] _ips, Pointer[] _p)
BlockFieldORIterablePosting(IterablePosting[] ips)
Constructs an instance of the BlockFieldORIterablePostingBlockORIterablePosting(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 postingsPhraseIterablePosting(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)
-
Uses of IterablePosting in org.terrier.structures.postings.bit
Classes in org.terrier.structures.postings.bit that implement IterablePosting Modifier and Type Class Description class
BasicIterablePosting
class
BasicIterablePostingDocidOnly
Posting iterator class that only returns identifiers, not frequencies.class
BlockFieldIterablePosting
class BlockFieldIterablePostingclass
BlockIterablePosting
A writable block iterable posting listclass
FieldIterablePosting
A posting iterator for field postings.
-