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 java.lang.Object

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


Field Summary
static java.lang.String DEBUG_QUERY
          Deprecated. 
 java.lang.String debugQuery
          Deprecated. do not debug by default
 java.lang.String df
          Deprecated. the default field to query
static java.lang.String DF
          Deprecated. 
static java.lang.String EXPLAIN_OTHER
          Deprecated. 
 java.lang.String explainOther
          Deprecated. no default other explanation query
 java.lang.String fl
          Deprecated. the default field list to be used
static java.lang.String FL
          Deprecated. 
 boolean highlight
          Deprecated. whether to highlight
 java.lang.String highlightFields
          Deprecated. fields to highlight
 java.lang.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 java.lang.String FL
Deprecated. 

DF

@Deprecated
public static java.lang.String DF
Deprecated. 
default query field


DEBUG_QUERY

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


EXPLAIN_OTHER

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


fl

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


df

public java.lang.String df
Deprecated. 
the default field to query


debugQuery

public java.lang.String debugQuery
Deprecated. 
do not debug by default


explainOther

public java.lang.String explainOther
Deprecated. 
no default other explanation query


highlight

public boolean highlight
Deprecated. 
whether to highlight


highlightFields

public java.lang.String highlightFields
Deprecated. 
fields to highlight


maxSnippets

public int maxSnippets
Deprecated. 
maximum highlight fragments to return


highlightFormatterClass

public java.lang.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