Class SolrParamsUtil


  • public class SolrParamsUtil
    extends Object
    Convenience methods for working with SolrParams.
    Since:
    1.2
    • 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. If params already is an instance of ModifiableSolrParams, the same instance is returned, otherwise, a modifiable copy of the parameters is created and returned.
        Parameters:
        params - the parameters. If null, an empty ModifiableSolrParams instance will be returned.