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 interfaceFeaturedResultSetA result set to accommodate multiple feature scores.Classes in org.terrier.learning that implement ResultSet Modifier and Type Class Description classFeaturedQueryResultSetA 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 ResultSetFeaturedQueryResultSet. 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.ResultSetFeaturedQueryResultSet. 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 interfaceFatResultSetA result set that encapsulates the postings for terms within the queryClasses in org.terrier.matching that implement ResultSet Modifier and Type Class Description classAccumulatorResultSetA result set instance that uses maps internally until initialise() is calledclassCollectionResultSetThis class implements the interface ResultSet and models the set of all documents in the collection.classFatQueryResultSetAn implementation ofFatResultSet.classQueryResultSetA result set for a given query.Fields in org.terrier.matching declared as ResultSet Modifier and Type Field Description ResultSetBaseMatching.MatchingState. resultSetThe result set.protected ResultSetTRECResultsMatching. rsThe result set for a query.Methods in org.terrier.matching that return ResultSet Modifier and Type Method Description ResultSetFatFeaturedScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet res, boolean keepInputScores)ResultSetFatScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS, boolean keepInputScores)ResultSetFilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match)abstract ResultSetFilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match, boolean keepInputScores)ResultSetScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet rsInput, boolean keepInputScores)protected ResultSetScoringMatching. getFinalResultSet()protected ResultSetScoringMatchingWithFat. getFinalResultSet()ResultSetAccumulatorResultSet. 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.ResultSetAccumulatorResultSet. getResultSet(int start, int length)Crops the existing result file and extracts a subset from the given starting point, with the given length.ResultSetCollectionResultSet. 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.ResultSetCollectionResultSet. getResultSet(int start, int length)Crops the existing result file and extracts a subset from the given starting point to the ending point.ResultSetQueryResultSet. 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.ResultSetQueryResultSet. getResultSet(int startPosition, int length)Crops the existing result file and extracts a subset from the given starting point to the ending point.ResultSetResultSet. 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.ResultSetResultSet. getResultSet(int start, int length)Crops the existing result file and extracts a subset from the given starting point, with the given length.abstract ResultSetBaseMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)Get a ResultSet for the given query terms.ResultSetFatFeaturedScoringMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)ResultSetFatResultsMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)ResultSetFatScoringMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)ResultSetFilterMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)ResultSetLearnedModelMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)ResultSetMatching. match(java.lang.String queryNumber, MatchingQueryTerms queryTerms)Get a ResultSet for the given query terms.ResultSetTRECResultsMatching. match(java.lang.String _qid, MatchingQueryTerms mqt)Methods in org.terrier.matching with parameters of type ResultSet Modifier and Type Method Description ResultSetFatFeaturedScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet res, boolean keepInputScores)ResultSetFatScoringMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS, boolean keepInputScores)ResultSetFilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match)abstract ResultSetFilterMatching. doMatch(java.lang.String queryNumber, MatchingQueryTerms queryTerms, ResultSet match, boolean keepInputScores)ResultSetScoringMatching. 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 classCandidateResultSetResultSet which is created from a set of CandidateResults.classFatCandidateResultSetMethods in org.terrier.matching.daat that return ResultSet Modifier and Type Method Description ResultSetCandidateResultSet. getResultSet(int[] positions)ResultSetCandidateResultSet. getResultSet(int start, int length)Crops the existing result file and extracts a subset from the given starting point, with the given length.ResultSetFull. 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 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 rsbooleanBooleanFallback. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)Applies boolean fallback to the given result set.booleanBooleanScoreModifier. modifyScores(Index index, MatchingQueryTerms query, ResultSet resultSet)Zeros the scores of documents in which only some of the query terms appear.booleanDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)Modifies the scores of documents, in which there exist, or there does not exist a given phrase.booleanDFRDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)booleanDocumentScoreModifier. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)Modifies the scores of the documents for a given query.booleanMRFDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)Modifies the scores of documents, in which there exist, or there does not exist a given phrase.booleanPhraseScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet resultSet)booleanResetScores. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)booleanSimpleStaticScoreModifier. 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 ResultSetFull. 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 ResultSetRequest. resultSetThis is the resultset of the query.Methods in org.terrier.querying that return ResultSet Modifier and Type Method Description ResultSetRequest. getResultSet()Returns the resultset generated by the query.Methods in org.terrier.querying with parameters of type ResultSet Modifier and Type Method Description byteDecorate. filter(Manager m, SearchRequest q, ResultSet rs, int rank, int docid)Called for each result in the resultset, used to filter out unwanted results.bytePostFilter. filter(Manager m, SearchRequest srq, ResultSet results, int DocAtNumber, int docid)Called for each result in the resultset, used to filter out unwanted results.byteScope. 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.byteSimpleDecorate. 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.byteSiteFilter. filter(Manager m, SearchRequest srq, ResultSet rs, int rank, int docid)Called for each result in the resultset, used to filter out unwanted results.voidDecorate. new_query(Manager m, SearchRequest q, ResultSet rs)Called before the processing of a resultset using this PostFilter is applied.voidPostFilter. new_query(Manager m, SearchRequest srq, ResultSet rs)Called before the processing of a resultset using this PostFilter is applied.voidScope. new_query(Manager m, SearchRequest srq, ResultSet rs)Creates a HashSet of scopes that can are allowed to be in the document number prefix.voidSimpleDecorate. new_query(Manager m, SearchRequest srq, ResultSet rs)Called before the processing of a resultset using this PostFilter is applied.voidSiteFilter. new_query(Manager m, SearchRequest srq, ResultSet rs)Called before the processing of a resultset using this PostFilter is applied.voidRequest. 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 ResultSetGrowingMapQueryResultCache. checkCache(SearchRequest q)ResultSetNullQueryResultCache. checkCache(SearchRequest q)ResultSetQueryResultCache. 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
-