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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FeaturedResultSet
A result set to accommodate multiple feature scores.
|
Modifier and Type | Class and Description |
---|---|
class |
FeaturedQueryResultSet
A result set implementation that accommodates multiple query feature scores,
besides the original relevance scores.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
FeaturedQueryResultSet(ResultSet resultSet) |
Modifier and Type | Interface and Description |
---|---|
interface |
FatResultSet
A result set that encapsulates the postings for terms within the query
|
Modifier and Type | Class and Description |
---|---|
class |
AccumulatorResultSet
A result set instance that uses maps internally until initialise() is called
|
class |
CollectionResultSet
This class implements the interface ResultSet and
models the set of all documents in the
collection.
|
class |
FatQueryResultSet
An implementation of
FatResultSet . |
class |
QueryResultSet
A result set for a given query.
|
Modifier and Type | Field and Description |
---|---|
protected ResultSet |
BaseMatching.resultSet
The result set.
|
protected ResultSet |
TRECResultsMatching.rs
The result set for a query.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
FatFeaturedScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
FatResultSet fat) |
ResultSet |
FatScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet inputRS) |
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 |
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 |
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 |
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 |
ResultSet.getResultSet(int start,
int length)
Crops the existing result file and extracts a subset
from the given starting point, with the given length.
|
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 |
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 |
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 |
TRECResultsMatching.match(String _qid,
MatchingQueryTerms mqt) |
ResultSet |
LearnedModelMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatScoringMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatResultsMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatFeaturedScoringMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
Matching.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
abstract ResultSet |
BaseMatching.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
FatScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet inputRS) |
Constructor and Description |
---|
CollectionResultSet(ResultSet resultSet)
A default constructor for the result set with a given
instance of the result set.
|
Modifier and Type | Class and Description |
---|---|
class |
CandidateResultSet
ResultSet which is created from a set of CandidateResults.
|
class |
FatCandidateResultSet |
Modifier and Type | Method and 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 |
FullNoPLM.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
Full.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DependenceScoreModifier.doDependency(Index index,
EntryStatistics[] es,
IterablePosting[] ips,
ResultSet rs,
double[] phraseTermWeights,
boolean SD) |
boolean |
SimpleStaticScoreModifier.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet set)
Modifies the scores of the documents for a given
query.
|
boolean |
ResetScores.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet) |
boolean |
PhraseScoreModifier.modifyScores(Index index,
MatchingQueryTerms terms,
ResultSet resultSet) |
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 |
DocumentScoreModifier.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet)
Modifies the scores of the documents for a given
query.
|
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 |
BooleanScoreModifier.modifyScores(Index index,
MatchingQueryTerms query,
ResultSet resultSet)
Zeros the scores of documents in which only some
of the query terms appear.
|
boolean |
BooleanFallback.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet)
Applies boolean fallback to the given result set.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
FullNoPLM.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
Full.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
Modifier and Type | Field and Description |
---|---|
protected ResultSet |
Request.resultSet
This is the resultset of the query.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
SearchRequest.getResultSet()
Returns the resultset generated by the query.
|
ResultSet |
Request.getResultSet()
Returns the resultset generated by the query.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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 |
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 |
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.
|
void |
SiteFilter.new_query(Manager m,
SearchRequest srq,
ResultSet rs)
Called before the processing of a resultset using this PostFilter is applied.
|
void |
SimpleDecorate.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 |
PostFilter.new_query(Manager m,
SearchRequest srq,
ResultSet rs)
Called before the processing of a resultset using this PostFilter is applied.
|
void |
Decorate.new_query(Manager m,
SearchRequest q,
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.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
QueryResultCache.checkCache(SearchRequest q)
Returns the ResultSet for the specified query, or null
if that query has no cached results.
|
ResultSet |
NullQueryResultCache.checkCache(SearchRequest q) |
ResultSet |
GrowingMapQueryResultCache.checkCache(SearchRequest q) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
TRECDocnoOutputFormat.obtainDocnos(String metaIndexDocumentKey,
SearchRequest q,
ResultSet set)
method which extracts the docnos for the prescribed resultset
|
Terrier 4.0. Copyright © 2004-2014 University of Glasgow