Tabnine Logo
LocalManager.setDefaults
Code IndexAdd Tabnine to your IDE (free)

How to use
setDefaults
method
in
org.terrier.querying.LocalManager

Best Java code snippets using org.terrier.querying.LocalManager.setDefaults (Showing top 6 results out of 315)

origin: terrier-org/terrier-core

@Override
public SearchRequest newSearchRequest()
{
  Request q = new Request();
  if (Defaults_Size >0)
    setDefaults(q);
  q.setIndex(this.index);
  return (SearchRequest)q;
}
/* (non-Javadoc)
origin: org.terrier/terrier-core

@Override
public SearchRequest newSearchRequest()
{
  Request q = new Request();
  if (Defaults_Size >0)
    setDefaults(q);
  q.setIndex(this.index);
  return (SearchRequest)q;
}
/* (non-Javadoc)
origin: org.terrier/terrier-core

@Override
public SearchRequest newSearchRequest(String QueryID)
{
  Request q = new Request();
  if (Defaults_Size >0)
    setDefaults(q);
  q.setQueryID(QueryID);
  q.setIndex(this.index);
  return (SearchRequest)q;
}
origin: terrier-org/terrier-core

@Override
public SearchRequest newSearchRequest(String QueryID)
{
  Request q = new Request();
  if (Defaults_Size >0)
    setDefaults(q);
  q.setQueryID(QueryID);
  q.setIndex(this.index);
  return (SearchRequest)q;
}
origin: org.terrier/terrier-core

  @Override
  public SearchRequest newSearchRequest(String QueryID, String query)
  {
    Request q = new Request();
    if (Defaults_Size >0)
      setDefaults(q);
    q.setQueryID(QueryID);
    q.setIndex(this.index);
//        try{
//            QueryParser.parseQuery(query, q);    
//        } catch (QueryParserException qpe) {
//            logger.error("Error while parsing the query.",qpe);
//        }
    q.setOriginalQuery(query);
    return q;
  }
  
origin: terrier-org/terrier-core

  @Override
  public SearchRequest newSearchRequest(String QueryID, String query)
  {
    Request q = new Request();
    if (Defaults_Size >0)
      setDefaults(q);
    q.setQueryID(QueryID);
    q.setIndex(this.index);
//        try{
//            QueryParser.parseQuery(query, q);    
//        } catch (QueryParserException qpe) {
//            logger.error("Error while parsing the query.",qpe);
//        }
    q.setOriginalQuery(query);
    return q;
  }
  
org.terrier.queryingLocalManagersetDefaults

Javadoc

Set the default values for the controls of this new search request

Popular methods of LocalManager

  • <init>
    Construct a Manager using the specified Index Throws IllegalArgumentException if the specified index
  • getWeightingModel
    Returns the weighting model requested by the Request from the WeightingModel factory.
  • hasAnnotation
  • load_controls_allowed
    load in the controls that user is allowed to set
  • load_controls_default
    load in the control defaults
  • load_pipeline
    load in the term pipeline
  • newSearchRequest
  • setProperty
  • useThisIndex
    use the index specified for the Manager

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Path (java.nio.file)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now