org.apache.solr.util
Class DisMaxParams

java.lang.Object
  extended by org.apache.solr.util.CommonParams
      extended by org.apache.solr.util.DisMaxParams
All Implemented Interfaces:
org.apache.solr.common.params.CommonParams, org.apache.solr.common.params.DisMaxParams

Deprecated. Use DisMaxParams instead.

@Deprecated
public class DisMaxParams
extends CommonParams
implements org.apache.solr.common.params.DisMaxParams

This class is scheduled for deletion. Please update your code to the moved package.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.solr.common.params.CommonParams
org.apache.solr.common.params.CommonParams.EchoParamStyle
 
Field Summary
 String bf
          Deprecated. - use explicit default with SolrParams.get
 String bq
          Deprecated. - use explicit default with SolrParams.get
 String fq
          Deprecated. - use explicit default with SolrParams.get
static String FQ
          Deprecated. use SolrParams.FQ or SolrPluginUtils.parseFilterQueries
static org.slf4j.Logger log
          Deprecated.  
 String mm
          Deprecated. - use explicit default with SolrParams.get
 String pf
          Deprecated. - use explicit default with SolrParams.get
 int pslop
          Deprecated. - use explicit default with SolrParams.getInt
 String qf
          Deprecated. - use explicit default with SolrParams.get
 float tiebreaker
          Deprecated. - use explicit default with SolrParams.getFloat
 
Fields inherited from class org.apache.solr.util.CommonParams
debugQuery, df, explainOther, fl, highlight, highlightFields, highlightFormatterClass, maxSnippets
 
Fields inherited from interface org.apache.solr.common.params.DisMaxParams
ALTQ, BF, BQ, GEN, MM, PF, PS, QF, QS, TIE
 
Fields inherited from interface org.apache.solr.common.params.CommonParams
DEBUG_QUERY, DF, EXCLUDE, EXPLAIN_OTHER, FALSE, FIELD, FL, HEADER_ECHO_HANDLER, HEADER_ECHO_PARAMS, OMIT_HEADER, OUTPUT_KEY, Q, QT, ROWS, SORT, START, STREAM_BODY, STREAM_CONTENTTYPE, STREAM_FILE, STREAM_URL, TAG, TERMS, TIME_ALLOWED, TRUE, VALUE, VERSION, WT, XSL
 
Constructor Summary
DisMaxParams()
          Deprecated.  
 
Method Summary
 void setValues(org.apache.solr.common.util.NamedList args)
          Deprecated. use SolrParams.toSolrParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.slf4j.Logger log
Deprecated. 

FQ

public static String FQ
Deprecated. use SolrParams.FQ or SolrPluginUtils.parseFilterQueries
query and init param for filtering query


tiebreaker

public float tiebreaker
Deprecated. - use explicit default with SolrParams.getFloat
the default tie breaker to use in DisjunctionMaxQueries


qf

public String qf
Deprecated. - use explicit default with SolrParams.get
the default query fields to be used


pf

public String pf
Deprecated. - use explicit default with SolrParams.get
the default phrase boosting fields to be used


mm

public String mm
Deprecated. - use explicit default with SolrParams.get
the default min should match to be used


pslop

public int pslop
Deprecated. - use explicit default with SolrParams.getInt
the default phrase slop to be used


bq

public String bq
Deprecated. - use explicit default with SolrParams.get
the default boosting query to be used


bf

public String bf
Deprecated. - use explicit default with SolrParams.get
the default boosting functions to be used


fq

public String fq
Deprecated. - use explicit default with SolrParams.get
the default filtering query to be used

Constructor Detail

DisMaxParams

public DisMaxParams()
Deprecated. 
Method Detail

setValues

public void setValues(org.apache.solr.common.util.NamedList args)
Deprecated. use SolrParams.toSolrParams

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.

Overrides:
setValues in class CommonParams


Copyright © 2010 Apache Software Foundation. All Rights Reserved.