Package cool.solr.search.solr.util
Class SolrParamsUtil
- java.lang.Object
-
- cool.solr.search.solr.util.SolrParamsUtil
-
public class SolrParamsUtil extends Object
Convenience methods for working withSolrParams.- Since:
- 1.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.solr.common.params.ModifiableSolrParamsmodifiable(org.apache.solr.common.params.SolrParams params)Returns a modifiable version of the given parameters.
-
-
-
Method Detail
-
modifiable
public static org.apache.solr.common.params.ModifiableSolrParams modifiable(org.apache.solr.common.params.SolrParams params)
Returns a modifiable version of the given parameters. Ifparamsalready is an instance ofModifiableSolrParams, the same instance is returned, otherwise, a modifiable copy of the parameters is created and returned.- Parameters:
params- the parameters. Ifnull, an emptyModifiableSolrParamsinstance will be returned.
-
-