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(java.lang.String queryId, java.lang.String query)
          According to the given parameters, it sets up the correct matching class and performs retrieval for the given query.
 SearchRequest TRECQuerying.processQuery(java.lang.String queryId, java.lang.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(java.lang.String queryId, java.lang.String query, double cParameter, boolean c_set)
          Deprecated. According to the given parameters, it sets up the correct matching class.
 SearchRequest TRECQuerying.processQuery(java.lang.String queryId, java.lang.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(java.lang.String queryId, SearchRequest srq)
           
protected  java.lang.String[] TRECQuerying.TRECDocnoOutputFormat.obtainDocnos(java.lang.String metaIndexDocumentKey, SearchRequest q, ResultSet set)
          method which extracts the docnos for the prescribed resultset
protected  void TRECQuerying.preQueryingSearchRequestModification(java.lang.String queryId, SearchRequest srq)
           
 void InteractiveQuerying.printResults(java.io.PrintWriter pw, SearchRequest q)
          Prints the results
 void TRECQuerying.OutputFormat.printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.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(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int _RESULTS_LENGTH)
          Prints the results for the given search request, using the specified destination.
 void TRECQuerying.TRECDocidOutputFormat.printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int _RESULTS_LENGTH)
          Prints the results for the given search request, using the specified destination.
 void TRECQuerying.NullOutputFormat.printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int numberOfResults)
          Null implementation - does nothing.
 void TRECQuerying.printSettings(SearchRequest default_q, java.lang.String[] topicsFiles, java.lang.String otherComments)
          prints the current settings to a file with the same name as the current results file.
 

Uses of SearchRequest in org.terrier.querying
 

Classes in org.terrier.querying that implement SearchRequest
 class Request
          Request SearchRequest contains the details of the search engine for one query, including the query itself, the resultset, and the controls.
 

Methods in org.terrier.querying that return SearchRequest
 SearchRequest Manager.newSearchRequest()
          Ask for new SearchRequest object to be made.
 SearchRequest Manager.newSearchRequest(java.lang.String QueryID)
          Ask for new SearchRequest object to be made.
 SearchRequest Manager.newSearchRequest(java.lang.String QueryID, java.lang.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(java.lang.String control_name, SearchRequest srq)
           
 byte SiteFilter.filter(Manager m, SearchRequest srq, ResultSet rs, int DocAtNumber, int DocNo)
          Called for each result in the resultset, used to filter out unwanted results.
 byte SimpleDecorate.filter(Manager m, SearchRequest srq, ResultSet results, int DocAtNumber, int DocNo)
          Called for each result in the resultset, used to filter out unwanted results.
 byte Scope.filter(Manager m, SearchRequest srq, ResultSet rs, int DocAtNo, 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 DocNo)
          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.
 java.lang.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(java.lang.String query, SearchRequest srq)
          Parse the query specified in String query, and use it for the specified search request.
 



Terrier 3.5. Copyright © 2004-2011 University of Glasgow