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, or desktop search.
|
org.terrier.applications.batchquerying |
Contains application-level programs for performing batch-based query operations, such as generating runs for TREC.
|
org.terrier.learning |
Provides interfaces for Terrier 'Fat' ResultSets that contain features and decorators that add new features to those result sets.
|
org.terrier.querying |
Provides the interfaces and classes for the querying
API of the Terrier platform, the controls, post processors
and filters.
|
org.terrier.querying.parser |
Provides the parser specification and the classes that implement
the query language of the Terrier platform.
|
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 |
---|---|
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)
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,
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 | Method and Description |
---|---|
void |
LabelDecorator.process(Manager manager,
SearchRequest q) |
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 |
Manager.newSearchRequest()
Ask for new SearchRequest object to be made.
|
SearchRequest |
Manager.newSearchRequest(String QueryID)
Ask for new SearchRequest object to be made.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Decorate.checkControl(String control_name,
SearchRequest srq) |
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 |
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 |
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 |
Manager.getInfo(SearchRequest srq)
Returns information about the weighting models and
the post processors used for the given search request.
|
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 |
SiteFilter.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 |
QueryExpansion.process(Manager manager,
SearchRequest q)
Runs the actual query expansion
|
void |
Process.process(Manager manager,
SearchRequest q)
Run the instantiated process on the search request represented by q.
|
void |
Decorate.process(Manager manager,
SearchRequest q)
decoration at the postprocess stage.
|
void |
Manager.runMatching(SearchRequest srq)
Runs the weighting and matching stage - this the main entry
into the rest of the Terrier framework.
|
void |
Manager.runPostFilters(SearchRequest srq)
Runs the PostFilter modules in order added.
|
void |
Manager.runPostProcessing(SearchRequest srq)
Runs the PostProcessing modules in order added.
|
void |
Manager.runPreProcessing(SearchRequest srq)
runPreProcessing
|
Modifier and Type | Method and Description |
---|---|
static void |
QueryParser.parseQuery(String query,
SearchRequest srq)
Parse the query specified in String query, and use it for the specified search request.
|
Modifier and Type | Method and Description |
---|---|
SearchRequest |
WebsiteSearch.search(String query,
int rankingDepth) |
Modifier and Type | Method and Description |
---|---|
void |
GrowingMapQueryResultCache.add(SearchRequest q) |
void |
QueryResultCache.add(SearchRequest q)
Add the results for the specified query to the cache
|
void |
NullQueryResultCache.add(SearchRequest q) |
ResultSet |
GrowingMapQueryResultCache.checkCache(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) |
protected abstract K |
GrowingMapQueryResultCache.hashQuery(SearchRequest q) |
protected String |
GrowingMapQueryStringResultCache.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 |
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 |
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 |
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 |
Normalised2LETOROutputFormat.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 |
WritableOutputFormat.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 |
RawOutputFormat.writeResults(OutputStream os,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
void |
WritableOutputFormat.writeResults(OutputStream os,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow