Uses of Interface
org.terrier.querying.SearchRequest

Packages that use SearchRequest
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.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. 
 

Uses of SearchRequest in org.terrier.applications
 

Methods in org.terrier.applications that return SearchRequest
 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 TRECQueryingExpansion.processQuery(String queryId, String query, double cParameter, boolean c_set)
          Deprecated. According to the given parameters, it sets up the correct matching class.
 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.
 

Methods in org.terrier.applications with parameters of type SearchRequest
 void TRECQuerying.QueryResultCache.add(SearchRequest q)
          Add the results for the specified query to the cache
 ResultSet TRECQuerying.QueryResultCache.checkCache(SearchRequest q)
          Returns the ResultSet for the specified query, or null if that query has no cached results.
protected  void TRECQuerying.initSearchRequestModification(String queryId, SearchRequest srq)
           
protected  String[] TRECQuerying.TRECDocnoOutputFormat.obtainDocnos(String metaIndexDocumentKey, SearchRequest q, ResultSet set)
          method which extracts the docnos for the prescribed resultset
protected  void TRECQuerying.preQueryingSearchRequestModification(String queryId, SearchRequest srq)
           
 void InteractiveQuerying.printResults(PrintWriter pw, SearchRequest q)
          Prints the results
 void TRECQuerying.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 TRECQuerying.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 TRECQuerying.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 TRECQuerying.NullOutputFormat.printResults(PrintWriter pw, SearchRequest q, String method, String iteration, int numberOfResults)
          Null implementation - does nothing.
 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.
 void TRECQuerying.RawOutputFormat.writeResults(OutputStream os, SearchRequest q, String method, String iteration, int numberOfResults)
           
 

Uses of SearchRequest in org.terrier.querying
 

Classes in org.terrier.querying that implement SearchRequest
 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.
 

Methods in org.terrier.querying that return SearchRequest
 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.
 

Methods in org.terrier.querying with parameters of type SearchRequest
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 Manager.getInfo(SearchRequest srq)
          Returns information about the weighting models and the post processors used for the given search request.
 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 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
 

Uses of SearchRequest in org.terrier.querying.parser
 

Methods in org.terrier.querying.parser with parameters of type SearchRequest
static void QueryParser.parseQuery(String query, SearchRequest srq)
          Parse the query specified in String query, and use it for the specified search request.
 



Terrier 3.6. Copyright © 2004-2011 University of Glasgow