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. termPostingsposting lists for each termMethods in org.terrier.matching that return IterablePosting Modifier and Type Method Description IterablePostingPostingListManager. 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 voidScoringMatching. assignScore(int offset, int docid, double score, IterablePosting[] postings)protected voidScoringMatchingWithFat. 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 voidDependenceScoreModifier. 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 voidDependenceScoreModifier. 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 IterablePostingANDQueryOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected abstract IterablePostingMultiTermOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected IterablePostingPhraseOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected IterablePostingSynonymOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected IterablePostingUnorderedWindowOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)IterablePostingMatchingEntry. 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 IterablePostingANDQueryOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected abstract IterablePostingMultiTermOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected IterablePostingPhraseOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected IterablePostingSynonymOp. createFinalPostingIterator(java.util.List<IterablePosting> postings, java.util.List<EntryStatistics> pointers)protected IterablePostingUnorderedWindowOp. 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 voidFull. 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 classMemoryDirectIterablePostingProvides iteration capabilities over a Memory Direct PostingclassMemoryIterablePostingA postings list implementation held fully in memory.Methods in org.terrier.realtime.memory that return IterablePosting Modifier and Type Method Description IterablePostingMemoryDirectIndex.DirectIterator. getNextPostings()IterablePostingMemoryInvertedIndex.InvertedIterator. getNextPostings()IterablePostingMemoryDirectIndex. getPostings(int pointer)IterablePostingMemoryDirectIndex. getPostings(Pointer pointer)IterablePostingMemoryInvertedIndex. getPostings(Pointer pointer)Returns the posting iterator given a pointer.IterablePostingMemoryDirectIndex.DirectIterator. next()IterablePostingMemoryInvertedIndex.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 classMemoryFieldsDirectIterablePostingclassMemoryFieldsIterablePostingIterable posting (fields).Methods in org.terrier.realtime.memory.fields that return IterablePosting Modifier and Type Method Description IterablePostingMemoryFieldsDirectIndex. getPostings(int docid)IterablePostingMemoryFieldsInvertedIndex. 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 classBlockMultiDirectIterablePostingclassBlockMultiIterablePostingclassMultiDirectIterablePostingThis acts as a wrapper class that surrounds an IterablePosting object.classMultiIterablePostingA posting list implementation used within a MultiIndex.Methods in org.terrier.realtime.multi that return IterablePosting Modifier and Type Method Description IterablePostingMultiDirect. getPostings(Pointer _multiPointer)Returns the posting iterator given a pointer.IterablePostingMultiInverted. 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 MultiDirectIterablePostingMultiDirectIterablePosting. 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 IterablePostingPostingIndexInputStream. getNextPostings()Return the next IterablePosting object, or null if none defined.IterablePostingPostingIndex. 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 BitIndexPointerAbstractPostingOutputStream. writePostings(IterablePosting postings)abstract BitIndexPointerAbstractPostingOutputStream. 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. postingConstructorprotected java.lang.reflect.Constructor<? extends IterablePosting>BitPostingIndexInputStream. postingConstructorprotected java.lang.Class<? extends IterablePosting>BitPostingIndex. postingImplementationprotected java.lang.Class<? extends IterablePosting>BitPostingIndexInputStream. postingIteratorClassMethods in org.terrier.structures.bit that return IterablePosting Modifier and Type Method Description IterablePostingBitPostingIndexInputStream. getNextPostings()Return the next IterablePosting object, or null if none defined.IterablePostingBitPostingIndex. getPostings(Pointer _pointer)Returns the posting iterator given a pointer.protected IterablePostingBitPostingIndexInputStream. loadPostingIterator(BitIndexPointer pointer)IterablePostingBitPostingIndexInputStream. 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 BitIndexPointerDirectInvertedOutputStream. writePostings(IterablePosting postings)Write out the specified postings.BitIndexPointerDirectInvertedOutputStream. 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 voidBitPostingIndex. 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 classDocumentPostingList.postingIteratorMethods in org.terrier.structures.indexing that return IterablePosting Modifier and Type Method Description IterablePostingDocumentPostingList. getPostings2(TermCodes termCodes)Returns a posting iterator suitable to be written into the direct index.protected IterablePostingBlockDocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)protected IterablePostingBlockFieldDocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)protected IterablePostingDocumentPostingList. makePostingIterator(java.lang.String[] _terms, int[] termIds)protected IterablePostingFieldDocumentPostingList. 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 classANDIterablePostingAn instance of IterablePostings that works with passed arrays of ids and frequencies.classArrayOfBasicIterablePostingAn instance of IterablePostings that works with passed arrays of ids and frequenciesclassArrayOfBlockFieldIterablePostingAn array structure that golds BlockFieldIterablePostingsclassArrayOfBlockIterablePostingAn array structure that golds BlockIterablePostingsclassArrayOfFieldIterablePostingAn instance of IterablePostings that works with passed arrays of ids and frequencies for each field.classArrayOfIdsIterablePostingAn instance of IterablePostings that works with a passed array of idsclassBlockFieldORIterablePostingORIterablePosting implementation that implements FieldPosting and BlockPostingclassBlockORIterablePostingORIterablePosting implementation that implements BlockPostingclassFieldOnlyIterablePostingThis class takes an IterablePosting list that has fields, and makes it appear as a single basic posting list.classFieldORIterablePostingORIterablePosting implementation that implements FieldPostingclassIterablePostingImplA base implementation of an IterablePosting, that provides a base implementation of next(int) method.classORIterablePostingAn IterablePosting that combines more than one IterablePosting into a single IterablePosting.classPhraseIterablePostingImplementation of an IterablePosting for block indices that returns only documents that match a multi-term phase.classProximityIterablePostingImplementation 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. ipsMethods in org.terrier.structures.postings that return IterablePosting Modifier and Type Method Description static IterablePostingPhraseIterablePosting. createPhrasePostingList(java.lang.String[] terms, Lexicon<java.lang.String> lex, PostingIndex<Pointer> invIndex, boolean savePositions)static IterablePostingPhraseIterablePosting. createPhrasePostingList(Pointer[] ps, PostingIndex<Pointer> invIndex, boolean savePositions)static IterablePostingProximityIterablePosting. createProximityPostingList(java.lang.String[] terms, Lexicon<java.lang.String> lex, PostingIndex<Pointer> invIndex, int blockDistance)static IterablePostingProximityIterablePosting. 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 voidPostingTestUtils. compareBlockFieldPostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)static voidPostingTestUtils. compareBlockPostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)static voidPostingTestUtils. compareFieldPostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)static voidPostingTestUtils. comparePostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings)static voidPostingTestUtils. comparePostings(java.util.List<Posting> inputPostings, IterablePosting outputPostings, boolean docidsOnly)static voidPostingTestUtils. 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 ORIterablePostingORIterablePosting. mergePostings(IterablePosting[] ips)Factory method to create an appropriate ORIterablePosting from the specified IterablePostings.static intPostingUtil. selectMinimumDocId(IterablePosting[] postingListArray)Returns the minimum docid of the current postings in the array of IterablePostingsstatic voidPostingTestUtils. 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 classBasicIterablePostingclassBasicIterablePostingDocidOnlyPosting iterator class that only returns identifiers, not frequencies.classBlockFieldIterablePostingclass BlockFieldIterablePostingclassBlockIterablePostingA writable block iterable posting listclassFieldIterablePostingA posting iterator for field postings.
-