org.apache.solr.util
Class CommonParams

java.lang.Object
  extended by org.apache.solr.util.CommonParams
Direct Known Subclasses:
DisMaxParams

Deprecated.

@Deprecated
public class CommonParams
extends Object

A collection on common params, both for Plugin initialization and for Requests.


Field Summary
static String DEBUG_QUERY
          Deprecated. 
 String debugQuery
          Deprecated. do not debug by default
 String df
          Deprecated. the default field to query
static String DF
          Deprecated. 
static String EXPLAIN_OTHER
          Deprecated. 
 String explainOther
          Deprecated. no default other explanation query
 String fl
          Deprecated. the default field list to be used
static String FL
          Deprecated. 
 boolean highlight
          Deprecated. whether to highlight
 String highlightFields
          Deprecated. fields to highlight
 String highlightFormatterClass
          Deprecated. override default highlight Formatter class
 int maxSnippets
          Deprecated. maximum highlight fragments to return
 
Constructor Summary
CommonParams()
          Deprecated.  
CommonParams(NamedList args)
          Deprecated.  
 
Method Summary
 void setValues(NamedList args)
          Deprecated. Sets the params using values from a NamedList, usefull in the init method for your handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FL

@Deprecated
public static String FL
Deprecated. 

DF

@Deprecated
public static String DF
Deprecated. 
default query field


DEBUG_QUERY

@Deprecated
public static String DEBUG_QUERY
Deprecated. 
whether to include debug data


EXPLAIN_OTHER

@Deprecated
public static String EXPLAIN_OTHER
Deprecated. 
another query to explain against


fl

public String fl
Deprecated. 
the default field list to be used


df

public String df
Deprecated. 
the default field to query


debugQuery

public String debugQuery
Deprecated. 
do not debug by default


explainOther

public String explainOther
Deprecated. 
no default other explanation query


highlight

public boolean highlight
Deprecated. 
whether to highlight


highlightFields

public String highlightFields
Deprecated. 
fields to highlight


maxSnippets

public int maxSnippets
Deprecated. 
maximum highlight fragments to return


highlightFormatterClass

public String highlightFormatterClass
Deprecated. 
override default highlight Formatter class

Constructor Detail

CommonParams

public CommonParams()
Deprecated. 

CommonParams

public CommonParams(NamedList args)
Deprecated. 
See Also:
setValues(org.apache.solr.util.NamedList)
Method Detail

setValues

public void setValues(NamedList args)
Deprecated. 
Sets the params using values from a NamedList, usefull in the init method for your handler.

If any param is not of the expected type, a severe error is logged,and the param is skipped.

If any param is not of in the NamedList, it is skipped and the old value is left alone.



Copyright © 2006 - 2009 The Apache Software Foundation