    # File lib/chef/solr_query.rb, line 64
        def self.from_params(params, couchdb=nil)
          query = new(couchdb)
          query.params = VALID_PARAMS.inject({}) do |p, param_name|
            p[param_name] = params[param_name] if params.key?(param_name)
            p
          end
          query.update_filter_query_from_params
          query.update_query_from_params
          query
        end