CommonParams
instead.@Deprecated public class CommonParams extends java.lang.Object implements CommonParams
CommonParams.EchoParamStyle
Modifier and Type | Field and Description |
---|---|
java.lang.String |
debugQuery
Deprecated.
do not debug by default
|
java.lang.String |
df
Deprecated.
the default field to query
|
java.lang.String |
explainOther
Deprecated.
no default other explanation query
|
java.lang.String |
fl
Deprecated.
the default field list to be used
|
boolean |
highlight
Deprecated.
whether to highlight
|
java.lang.String |
highlightFields
Deprecated.
fields to highlight
|
java.lang.String |
highlightFormatterClass
Deprecated.
override default highlight Formatter class
|
static org.slf4j.Logger |
log
Deprecated.
|
int |
maxSnippets
Deprecated.
maximum highlight fragments to return
|
CACHE, COST, DEBUG_QUERY, DF, EXCLUDE, EXPLAIN_OTHER, EXPLAIN_STRUCT, FALSE, FIELD, FL, FQ, 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 and Description |
---|
CommonParams()
Deprecated.
|
CommonParams(NamedList args)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setValues(NamedList args)
Deprecated.
Sets the params using values from a NamedList, usefull in the
init method for your handler.
|
public static org.slf4j.Logger log
public java.lang.String fl
public java.lang.String df
public java.lang.String debugQuery
public java.lang.String explainOther
public boolean highlight
public java.lang.String highlightFields
public int maxSnippets
public java.lang.String highlightFormatterClass
public CommonParams()
public CommonParams(NamedList args)
public void setValues(NamedList args)
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.