Uses of Class
org.terrier.structures.CollectionStatistics
-
Packages that use CollectionStatistics Package Description org.terrier.matching Provides the classes and interfaces used for matching documents to queries.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.matchops This package contains matching Operators.org.terrier.matching.models Provides the classes that implement various weighting models.org.terrier.querying Provides the interfaces and classes for the querying API of the Terrier platform, the controls, post processors and filters.org.terrier.realtime.memory Provides MemoryIndex structures.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.indexing.classical Provides functionality for creating on-disk indices via indexer classes. -
-
Uses of CollectionStatistics in org.terrier.matching
Fields in org.terrier.matching declared as CollectionStatistics Modifier and Type Field Description protected CollectionStatistics
BaseMatching. collectionStatistics
The collection statisticsprotected CollectionStatistics
PostingListManager. collectionStatistics
statistics of the collectionprotected CollectionStatistics
TRECResultsMatching. collStats
The underlying collections statistics.Methods in org.terrier.matching that return CollectionStatistics Modifier and Type Method Description CollectionStatistics
FatQueryResultSet. getCollectionStatistics()
Get the collection statistics that should be applied when (re)scoring any documents in this queryCollectionStatistics
FatResultSet. getCollectionStatistics()
Get the collection statistics that should be applied when (re)scoring any documents in this queryCollectionStatistics
TRECResultsMatching. getCollectionStatistics()
Returns collection statistics.Methods in org.terrier.matching with parameters of type CollectionStatistics Modifier and Type Method Description void
BaseMatching. setCollectionStatistics(CollectionStatistics cs)
Update the collection statistics being used by this matching instancevoid
FatQueryResultSet. setCollectionStatistics(CollectionStatistics cs)
void
FatResultSet. setCollectionStatistics(CollectionStatistics cs)
void
FatResultsMatching. setCollectionStatistics(CollectionStatistics cs)
void
FatScoringMatching. setCollectionStatistics(CollectionStatistics cs)
void
FeaturedScoringMatching. setCollectionStatistics(CollectionStatistics cs)
void
LearnedModelMatching. setCollectionStatistics(CollectionStatistics cs)
void
Matching. setCollectionStatistics(CollectionStatistics cs)
Update the collection statistics being used by this matching instancevoid
ScoringMatching. setCollectionStatistics(CollectionStatistics cs)
void
TRECResultsMatching. setCollectionStatistics(CollectionStatistics _collStats)
Constructors in org.terrier.matching with parameters of type CollectionStatistics Constructor Description FatQueryResultSet(int numberOfDocuments, CollectionStatistics cs, java.lang.String[] qs, EntryStatistics[] es, double[] ks, java.util.Set<java.lang.String>[] ts)
PostingListManager(Index _index, CollectionStatistics cs)
Create a posting list manager for the given index and statisticsPostingListManager(Index _index, CollectionStatistics _cs, MatchingQueryTerms mqt)
Create a posting list manager for the given index and statistics, and populated using the specified MatchingQueryTerms.PostingListManager(Index _index, CollectionStatistics _cs, MatchingQueryTerms mqt, boolean splitSynonyms, java.lang.String scoringTag, java.lang.String additionalTag)
Create a posting list manager for the given index and statistics, and populated using the specified MatchingQueryTerms. -
Uses of CollectionStatistics in org.terrier.matching.daat
Methods in org.terrier.matching.daat that return CollectionStatistics Modifier and Type Method Description CollectionStatistics
FatCandidateResultSet. getCollectionStatistics()
Methods in org.terrier.matching.daat with parameters of type CollectionStatistics Modifier and Type Method Description void
FatCandidateResultSet. setCollectionStatistics(CollectionStatistics cs)
Constructors in org.terrier.matching.daat with parameters of type CollectionStatistics Constructor Description FatCandidateResultSet(java.util.Collection<CandidateResult> q, CollectionStatistics cs, java.lang.String[] queryTerms, EntryStatistics[] entryStats, double[] keyFrequency, java.util.Set<java.lang.String>[] tags)
FatCandidateResultSet(java.util.List<CandidateResult> q, CollectionStatistics cs, java.lang.String[] queryTerms, EntryStatistics[] entryStats, double[] keyFrequency)
Deprecated. -
Uses of CollectionStatistics in org.terrier.matching.dsms
Methods in org.terrier.matching.dsms with parameters of type CollectionStatistics Modifier and Type Method Description void
DependenceScoreModifier. setCollectionStatistics(CollectionStatistics cs, Index _index)
Sets the collection statistics used to score the documents (number of documents in the collection, etc)void
MRFDependenceScoreModifier. setCollectionStatistics(CollectionStatistics cs, Index _index)
Sets the collection statistics used to score the documents (number of documents in the collection, etc) -
Uses of CollectionStatistics in org.terrier.matching.matchops
Methods in org.terrier.matching.matchops with parameters of type CollectionStatistics Modifier and Type Method Description MatchingEntry
DateRangeOp. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lexTerm, PostingIndex<Pointer> invTerm, CollectionStatistics collectionStats)
MatchingEntry
MultiTermOp. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lexicon, PostingIndex<Pointer> invertedIndex, CollectionStatistics collectionStatistics)
abstract MatchingEntry
Operator. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lex, PostingIndex<Pointer> inv, CollectionStatistics collStats)
get an entry for matching for this query op.MatchingEntry
SingleTermOp. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lexicon, PostingIndex<Pointer> invertedIndex, CollectionStatistics collectionStatistics)
protected EntryStatistics
ANDQueryOp. mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
Adjust the statistics for this operator: 1.protected EntryStatistics
MultiTermOp. mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
protected EntryStatistics
PhraseOp. mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
protected EntryStatistics
SynonymOp. mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
Adjust the statistics for the #syn operator: 1.protected EntryStatistics
UnorderedWindowOp. mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
-
Uses of CollectionStatistics in org.terrier.matching.models
Fields in org.terrier.matching.models declared as CollectionStatistics Modifier and Type Field Description protected CollectionStatistics
WeightingModel. cs
Methods in org.terrier.matching.models with parameters of type CollectionStatistics Modifier and Type Method Description static void
WeightingModelLibrary. checkForFields(CollectionStatistics _cs)
void
DFRWeightingModel. setCollectionStatistics(CollectionStatistics _cs)
void
MDL2. setCollectionStatistics(CollectionStatistics _cs)
void
ML2. setCollectionStatistics(CollectionStatistics _cs)
void
PerFieldNormWeightingModel. setCollectionStatistics(CollectionStatistics _cs)
void
SingleFieldModel. setCollectionStatistics(CollectionStatistics _cs)
void
WeightingModel. setCollectionStatistics(CollectionStatistics _cs)
Sets collection statistics -
Uses of CollectionStatistics in org.terrier.querying
Fields in org.terrier.querying declared as CollectionStatistics Modifier and Type Field Description protected CollectionStatistics
QueryExpansion. collStats
The statistics of the indexConstructors in org.terrier.querying with parameters of type CollectionStatistics Constructor Description DFRBagExpansionTerms(CollectionStatistics collStats, Lexicon<java.lang.String> _lexicon, PostingIndex<?> _directIndex, DocumentIndex _documentIndex)
Constructs an instance of ExpansionTerms. -
Uses of CollectionStatistics in org.terrier.realtime.memory
Subclasses of CollectionStatistics in org.terrier.realtime.memory Modifier and Type Class Description class
MemoryCollectionStatistics
This class provides basic statistics in memory for a collection of documents, such as the average length of documents, or the total number of documents in the collection.Methods in org.terrier.realtime.memory that return CollectionStatistics Modifier and Type Method Description CollectionStatistics
MemoryIndex. getCollectionStatistics()
Get the collection statistics -
Uses of CollectionStatistics in org.terrier.realtime.multi
Subclasses of CollectionStatistics in org.terrier.realtime.multi Modifier and Type Class Description class
MultiStats
A collection statistics class for use with a MultiIndex.Methods in org.terrier.realtime.multi that return CollectionStatistics Modifier and Type Method Description CollectionStatistics
MultiIndex. getCollectionStatistics()
Get the collection statisticsMethods in org.terrier.realtime.multi with parameters of type CollectionStatistics Modifier and Type Method Description static MultiStats
MultiStats. factory(CollectionStatistics[] stats)
Constructor. -
Uses of CollectionStatistics in org.terrier.structures
Subclasses of CollectionStatistics in org.terrier.structures Modifier and Type Class Description protected class
PropertiesIndex.UpdatingCollectionStatistics
This collection statistics parses the associated index properties for each call.Methods in org.terrier.structures that return CollectionStatistics Modifier and Type Method Description abstract CollectionStatistics
Index. getCollectionStatistics()
Get the collection statisticsCollectionStatistics
IndexOnDisk. getCollectionStatistics()
abstract CollectionStatistics
PropertiesIndex. getCollectionStatistics()
Get the collection statisticsMethods in org.terrier.structures with parameters of type CollectionStatistics Modifier and Type Method Description void
CollectionStatistics. addStatistics(CollectionStatistics cs)
Increment the collection statistics with the provided collection statistics. -
Uses of CollectionStatistics in org.terrier.structures.indexing.classical
Methods in org.terrier.structures.indexing.classical with parameters of type CollectionStatistics Modifier and Type Method Description protected org.terrier.structures.indexing.classical.InvertedIndexBuilder.LexiconScanner
BlockInvertedIndexBuilder. getLexScanner(java.util.Iterator<java.util.Map.Entry<java.lang.String,LexiconEntry>> lexStream, CollectionStatistics stats)
protected org.terrier.structures.indexing.classical.InvertedIndexBuilder.LexiconScanner
InvertedIndexBuilder. getLexScanner(java.util.Iterator<java.util.Map.Entry<java.lang.String,LexiconEntry>> lexStream, CollectionStatistics stats)
-