Uses of Interface
org.terrier.matching.ResultSet
-
Packages that use ResultSet Package Description org.terrier.learning Provides interfaces for Terrier 'Fat' ResultSets that contain features and decorators that add new features to those result sets.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.taat Provides classes that implement a term-at-a-time (TAAT) matching strategy.org.terrier.querying Provides the interfaces and classes for the querying API of the Terrier platform, the controls, post processors and filters.org.terrier.structures.cache Provides caching of search results when performing batch querying operations.org.terrier.structures.outputformat Provides functionality for writing Terrier ResultSets to disk as .res files, e.g. -
-
Uses of ResultSet in org.terrier.learning
Subinterfaces of ResultSet in org.terrier.learning Modifier and Type Interface Description interface
FeaturedResultSet
A result set to accommodate multiple feature scores.Classes in org.terrier.learning that implement ResultSet Modifier and Type Class Description class
FeaturedQueryResultSet
A result set implementation that accommodates multiple query feature scores, besides the original relevance scores.Methods in org.terrier.learning that return ResultSet Modifier and Type Method Description ResultSet
FeaturedQueryResultSet. getResultSet(int[] positions)
Extracts a subset of the resultset given by the list parameter, which contains a list of positions in the resultset that should be saved.ResultSet
FeaturedQueryResultSet. getResultSet(int startPosition, int length)
Crops the existing result file and extracts a subset from the given starting point to the ending point.Constructors in org.terrier.learning with parameters of type ResultSet Constructor Description FeaturedQueryResultSet(ResultSet resultSet)
-
Uses of ResultSet in org.terrier.matching
Subinterfaces of ResultSet in org.terrier.matching Modifier and Type Interface Description interface
FatResultSet
A result set that encapsulates the postings for terms within the queryClasses in org.terrier.matching that implement ResultSet Modifier and Type Class Description class
AccumulatorResultSet
A result set instance that uses maps internally until initialise() is calledclass
CollectionResultSet
This class implements the interface ResultSet and models the set of all documents in the collection.class
FatQueryResultSet
An implementation ofFatResultSet
.class
QueryResultSet
A result set for a given query.Fields in org.terrier.matching declared as ResultSet Modifier and Type Field Description ResultSet
BaseMatching.MatchingState. resultSet
The result set.protected ResultSet
TRECResultsMatching. rs
The result set for a query.Methods in org.terrier.matching that return ResultSet Modifier and Type Method Description ResultSet
FatFeaturedScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet res, boolean keepInputScores)
ResultSet
FatScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS, boolean keepInputScores)
ResultSet
FilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match)
abstract ResultSet
FilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match, boolean keepInputScores)
ResultSet
ScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet rsInput, boolean keepInputScores)
protected ResultSet
ScoringMatching. getFinalResultSet()
protected ResultSet
ScoringMatchingWithFat. getFinalResultSet()
ResultSet
AccumulatorResultSet. getResultSet(int[] positions)
Extracts a subset of the resultset given by the list parameter, which contains a list of positions in the resultset that should be saved.ResultSet
AccumulatorResultSet. getResultSet(int start, int length)
Crops the existing result file and extracts a subset from the given starting point, with the given length.ResultSet
CollectionResultSet. getResultSet(int[] positions)
Extracts a subset of the resultset given by the list parameter, which contains a list of positions in the resultset that should be saved.ResultSet
CollectionResultSet. getResultSet(int start, int length)
Crops the existing result file and extracts a subset from the given starting point to the ending point.ResultSet
QueryResultSet. getResultSet(int[] positions)
Extracts a subset of the resultset given by the list parameter, which contains a list of positions in the resultset that should be saved.ResultSet
QueryResultSet. getResultSet(int startPosition, int length)
Crops the existing result file and extracts a subset from the given starting point to the ending point.ResultSet
ResultSet. getResultSet(int[] list)
Extracts a subset of the resultset given by the list parameter, which contains a list of positions in the resultset that should be saved.ResultSet
ResultSet. getResultSet(int start, int length)
Crops the existing result file and extracts a subset from the given starting point, with the given length.abstract ResultSet
BaseMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.ResultSet
FatFeaturedScoringMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
ResultSet
FatResultsMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
ResultSet
FatScoringMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
ResultSet
FilterMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
ResultSet
LearnedModelMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
ResultSet
Matching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.ResultSet
TRECResultsMatching. match(java.lang.String _qid, MatchingQueryTerms mqt)
Methods in org.terrier.matching with parameters of type ResultSet Modifier and Type Method Description ResultSet
FatFeaturedScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet res, boolean keepInputScores)
ResultSet
FatScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS, boolean keepInputScores)
ResultSet
FilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match)
abstract ResultSet
FilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match, boolean keepInputScores)
ResultSet
ScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet rsInput, boolean keepInputScores)
Constructors in org.terrier.matching with parameters of type ResultSet Constructor Description CollectionResultSet(ResultSet resultSet)
A default constructor for the result set with a given instance of the result set. -
Uses of ResultSet in org.terrier.matching.daat
Classes in org.terrier.matching.daat that implement ResultSet Modifier and Type Class Description class
CandidateResultSet
ResultSet which is created from a set of CandidateResults.class
FatCandidateResultSet
Methods in org.terrier.matching.daat that return ResultSet Modifier and Type Method Description ResultSet
CandidateResultSet. getResultSet(int[] positions)
ResultSet
CandidateResultSet. getResultSet(int start, int length)
Crops the existing result file and extracts a subset from the given starting point, with the given length.ResultSet
Full. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms. -
Uses of ResultSet in org.terrier.matching.dsms
Methods in org.terrier.matching.dsms with parameters of type ResultSet 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 rsboolean
BooleanFallback. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)
Applies boolean fallback to the given result set.boolean
BooleanScoreModifier. modifyScores(Index index, MatchingQueryTerms query, ResultSet resultSet)
Zeros the scores of documents in which only some of the query terms appear.boolean
DependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)
Modifies the scores of documents, in which there exist, or there does not exist a given phrase.boolean
DFRDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)
boolean
DocumentScoreModifier. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)
Modifies the scores of the documents for a given query.boolean
MRFDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)
Modifies the scores of documents, in which there exist, or there does not exist a given phrase.boolean
PhraseScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet resultSet)
boolean
ResetScores. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)
boolean
SimpleStaticScoreModifier. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet set)
Modifies the scores of the documents for a given query. -
Uses of ResultSet in org.terrier.matching.taat
Methods in org.terrier.matching.taat that return ResultSet Modifier and Type Method Description ResultSet
Full. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms. -
Uses of ResultSet in org.terrier.querying
Fields in org.terrier.querying declared as ResultSet Modifier and Type Field Description protected ResultSet
Request. resultSet
This is the resultset of the query.Methods in org.terrier.querying that return ResultSet Modifier and Type Method Description ResultSet
Request. getResultSet()
Returns the resultset generated by the query.Methods in org.terrier.querying with parameters of type ResultSet Modifier and Type Method Description byte
Decorate. filter(Manager m, SearchRequest q, ResultSet rs, int rank, int docid)
Called for each result in the resultset, used to filter out unwanted results.byte
PostFilter. filter(Manager m, SearchRequest srq, ResultSet results, int DocAtNumber, int docid)
Called for each result in the resultset, used to filter out unwanted results.byte
Scope. filter(Manager m, SearchRequest srq, ResultSet rs, int rank, int docid)
Called for each result in the resultset, used to filter out unwanted results, based on the presence of some strings in the document number.byte
SimpleDecorate. filter(Manager m, SearchRequest srq, ResultSet results, int rank, int docid)
Adds all the metadata for the specified document occurring at the specified rank to the ResultSet Called for each result in the resultset, used to filter out unwanted results.byte
SiteFilter. filter(Manager m, SearchRequest srq, ResultSet rs, int rank, int docid)
Called for each result in the resultset, used to filter out unwanted results.void
Decorate. new_query(Manager m, SearchRequest q, ResultSet rs)
Called before the processing of a resultset using this PostFilter is applied.void
PostFilter. new_query(Manager m, SearchRequest srq, ResultSet rs)
Called before the processing of a resultset using this PostFilter is applied.void
Scope. new_query(Manager m, SearchRequest srq, ResultSet rs)
Creates a HashSet of scopes that can are allowed to be in the document number prefix.void
SimpleDecorate. new_query(Manager m, SearchRequest srq, ResultSet rs)
Called before the processing of a resultset using this PostFilter is applied.void
SiteFilter. new_query(Manager m, SearchRequest srq, ResultSet rs)
Called before the processing of a resultset using this PostFilter is applied.void
Request. setResultSet(ResultSet results)
Set the result set returned by this object to be this results. -
Uses of ResultSet in org.terrier.structures.cache
Methods in org.terrier.structures.cache that return ResultSet Modifier and Type Method Description ResultSet
GrowingMapQueryResultCache. checkCache(SearchRequest q)
ResultSet
NullQueryResultCache. checkCache(SearchRequest q)
ResultSet
QueryResultCache. checkCache(SearchRequest q)
Returns the ResultSet for the specified query, or null if that query has no cached results. -
Uses of ResultSet in org.terrier.structures.outputformat
Methods in org.terrier.structures.outputformat with parameters of type ResultSet Modifier and Type Method Description protected java.lang.String[]
TRECDocnoOutputFormat. obtainDocnos(java.lang.String metaIndexDocumentKey, SearchRequest q, ResultSet set)
method which extracts the docnos for the prescribed resultset
-