code: def _select(self, params, handler=None):
          
          # specify json encoding of results
          params['wt'] = 'json'
          custom_handler = handler or self.search_handler
          handler = 'select'
          if custom_handler:
              if self.use_qt_param:
                  params['qt'] = custom_handler
              else:
                  handler = custom_handler
  
          params_encoded = safe_urlencode(params, True)
  
          if len(params_encoded) < 1024:
              # Typical case.
              path = '%s/?%s' % (handler, params_encoded)
              return self._send_request('get', path)
          else:
              # Handles very long queries by submitting as a POST.
              path = '%s/' % handler
              headers = {
                  'Content-type': 'application/x-www-form-urlencoded; charset=utf-8',
              }
              return self._send_request('post', path, body=params_encoded, headers=headers)
docs: :param params:
          :param handler: defaults to self.search_handler (fallback to 'select')
          :return: