public class DefaultSolrParams extends SolrParams
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
defaults |
protected SolrParams |
params |
Modifier | Constructor and Description |
---|---|
protected |
DefaultSolrParams(SolrParams params,
SolrParams defaults) |
Modifier and Type | Method and Description |
---|---|
String |
get(String param)
returns the String value of a param, or null if not set
|
Iterator<String> |
getParameterNamesIterator()
returns an Iterator over the parameter names
|
String[] |
getParams(String param)
returns an array of the String values of a param, or null if none
|
String |
toString()
Like
SolrParams.toQueryString() , but only replacing enough chars so that
the URL may be unambiguously pasted back into a browser. |
fpname, get, getAll, getAll, getBool, getBool, getDouble, getDouble, getFieldBool, getFieldBool, getFieldDouble, getFieldDouble, getFieldFloat, getFieldFloat, getFieldInt, getFieldInt, getFieldParam, getFieldParam, getFieldParams, getFloat, getFloat, getInt, getInt, getLong, getLong, getPrimitiveBool, getPrimitiveFieldBool, getPrimitiveFieldFloat, getPrimitiveInt, required, toFilteredSolrParams, toMap, toMap, toMultiMap, toNamedList, toQueryString, toSolrParams, wrapAppended, wrapDefaults
protected final SolrParams params
protected final SolrParams defaults
protected DefaultSolrParams(SolrParams params, SolrParams defaults)
public String get(String param)
SolrParams
get
in class SolrParams
public String[] getParams(String param)
SolrParams
getParams
in class SolrParams
public Iterator<String> getParameterNamesIterator()
SolrParams
getParameterNamesIterator
in class SolrParams
public String toString()
SolrParams
SolrParams.toQueryString()
, but only replacing enough chars so that
the URL may be unambiguously pasted back into a browser.
This method can be used to properly log query parameters without
making them unreadable.
Characters with a numeric value less than 32 are encoded. &,=,%,+,space are encoded.
toString
in class SolrParams
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.