Package org.terrier.matching
Provides the classes and interfaces used for matching documents to queries. It includes the classes that perform the matching by reading information from the inverted index etc., and the classes that model the set of retrieved documents.
-
Interface Summary Interface Description FatResultSet A result set that encapsulates the postings for terms within the queryMatching Interface for all Matching implementations.Model This interface encapsulates all the common functionality between standard IR models (including DFR models, TF/IDF, BM25 etc), and Language Modelling models (Terrier includes PonteCroft Language Modelling model).PostingListManager.PostingListManagerPlugin Interface for plugins to further alter the posting lists managed by the PostingListManagerResultSet The interface that defines the functionalities of a result set. -
Class Summary Class Description AbstractScoringMatching AccumulatorResultSet A result set instance that uses maps internally until initialise() is calledBaseMatching Performs the matching of documents with a query, by first assigning scores to documents for each query term and modifying these scores with the appropriate modifiers.BaseMatching.MatchingState CollectionResultSet This class implements the interface ResultSet and models the set of all documents in the collection.FatFeaturedScoringMatching Makes aFeaturedResultSet
by applying a list of features.FatQueryResultSet An implementation ofFatResultSet
.FatResultsMatching Reads aFatResultSet
serialized to disk byWritableOutputFormat
.FatScoringMatching Scores a FatResultSet into a normal ResultSet for a given weighting modelFatUtils Various utilities for the dealing withFatResultSet
s.FeaturedScoringMatching FilterMatching JforestsModelMatching Applies a Jforests regression tree learned model to aFeaturedResultSet
.LearnedModelMatching An abstract class for applying a learned model onto aFeaturedResultSet
.LinearModelMatching Applies a linear learned model to aFeaturedResultSet
.MatchingQueryTerms Models a query used for matching documents.MatchingQueryTerms.MatchingTerm MatchingQueryTerms.QueryTermProperties The weight and the modifiers associated with a query term.PostingListManager The PostingListManager is responsible for opening the appropriate posting listsIterablePosting
given the MatchingQueryTerms object.QueryResultSet A result set for a given query.ScoringMatching Matching implementation that uses a parent Matching instance to get the docids to work with.ScoringMatchingWithFat TRECResultsMatching A matching implementation that retrieves results from a TREC result file rather than the current index. -
Enum Summary Enum Description TRECResultsMatching.InputFormat The result set input format.