Package | Description |
---|---|
org.terrier.applications |
Provides application-level code that use the Terrier platform to
perform indexing and retrieval from either standard test collections,
interactive querying of a indexed collection.
|
org.terrier.applications.batchquerying |
Contains application-level programs for performing batch-based query operations, such as generating runs for TREC.
|
org.terrier.querying |
Provides the interfaces and classes for the querying
API of the Terrier platform, the controls, post processors
and filters.
|
org.terrier.rest |
Provides a HTTP REST service for providing results
|
org.terrier.services.websitesearch |
Provides UI access services for the website search demo.
|
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 | Method and Description |
---|---|
SearchRequest |
InteractiveQuerying.processQuery(String queryId,
String query)
According to the given parameters, it sets up the correct matching class.
|
SearchRequest |
AbstractQuerying.processQuery(String queryId,
String query)
According to the given parameters, it sets up the correct matching class.
|
Modifier and Type | Method and Description |
---|---|
void |
InteractiveQuerying.printResults(PrintWriter pw,
SearchRequest q)
Prints the results
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
TRECQuerying.processQuery(String queryId,
String query)
According to the given parameters, it sets up the correct matching class
and performs retrieval for the given query.
|
SearchRequest |
TRECQuerying.processQuery(String queryId,
String query,
double cParameter)
Deprecated.
|
SearchRequest |
TRECQuerying.processQuery(String queryId,
String query,
double cParameter,
boolean c_set)
According to the given parameters, it sets up the correct matching class
and performs retrieval for the given query.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TRECQuerying.initSearchRequestModification(String queryId,
SearchRequest srq) |
protected void |
TRECQuerying.preQueryingSearchRequestModification(String queryId,
SearchRequest srq) |
void |
TRECQuerying.printSettings(SearchRequest default_q,
String[] topicsFiles,
String otherComments)
prints the current settings to a file with the same name as the current
results file.
|
Modifier and Type | Class and Description |
---|---|
class |
Request
Request contains the details of the search engine for one query, including the query itself,
the resultset, the controls and the context objects.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
LocalManager.newSearchRequest() |
SearchRequest |
Manager.newSearchRequest()
Ask for new SearchRequest object to be made.
|
SearchRequest |
LocalManager.newSearchRequest(String QueryID) |
SearchRequest |
Manager.newSearchRequest(String QueryID)
Ask for new SearchRequest object to be made.
|
SearchRequest |
LocalManager.newSearchRequest(String QueryID,
String query) |
SearchRequest |
Manager.newSearchRequest(String QueryID,
String query)
Ask for new SearchRequest object to be made, instantiated using the
specified query id, and that the specified query should be parsed.
|
SearchRequest |
LocalManager.newSearchRequestFromQuery(String query) |
SearchRequest |
Manager.newSearchRequestFromQuery(String query)
Ask for new SearchRequest object to be made given a query to be parsed
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Decorate.checkControl(String control_name,
SearchRequest srq) |
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.
|
String |
LocalManager.getInfo(SearchRequest srq)
Returns information about the weighting models and
the post processors used for the given search request.
|
protected void |
DependenceModelPreProcess.initialise(SearchRequest q) |
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.
|
default void |
Process.process(Manager manager,
SearchRequest q)
Deprecated.
|
void |
NoNegativeReq.process(Manager manager,
SearchRequest q) |
void |
DependenceModelPreProcess.process(Manager manager,
SearchRequest q) |
void |
LocalManager.runSearchRequest(SearchRequest srq) |
void |
Manager.runSearchRequest(SearchRequest srq)
This runs a given SearchRequest through the four retrieval stages and adds the ResultSet to the
SearchRequest object.
|
Modifier and Type | Method and Description |
---|---|
void |
JSONOutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int _RESULTS_LENGTH) |
Modifier and Type | Method and Description |
---|---|
SearchRequest |
WebsiteSearch.search(String query,
int rankingDepth) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultCache.add(SearchRequest q)
Add the results for the specified query to the cache
|
void |
NullQueryResultCache.add(SearchRequest q) |
void |
GrowingMapQueryResultCache.add(SearchRequest q) |
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) |
protected String |
GrowingMapQueryStringResultCache.hashQuery(SearchRequest q) |
protected abstract K |
GrowingMapQueryResultCache.hashQuery(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
|
void |
WritableOutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
void |
NormalisedLETOROutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
void |
Normalised2LETOROutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
void |
LETOROutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
void |
TRECDocnoOutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int _RESULTS_LENGTH)
Prints the results for the given search request, using the specified
destination.
|
void |
TRECDocidOutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int _RESULTS_LENGTH)
Prints the results for the given search request, using the specified
destination.
|
void |
OutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int numberOfResults)
Outputs the results of query q to PrintWriter pw,
described by the method, iteration, and the specified
limit on the number of results (0 means no limit).
|
void |
NullOutputFormat.printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int numberOfResults)
Null implementation - does nothing.
|
void |
WritableOutputFormat.writeResults(OutputStream os,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
void |
RawOutputFormat.writeResults(OutputStream os,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow