module Blacklight::Solr::Response::Response

Public Instance Methods

empty?() click to toggle source
# File lib/blacklight/solr/response/response.rb, line 16
def empty?
  total.zero?
end
response() click to toggle source
# File lib/blacklight/solr/response/response.rb, line 3
def response
  self[:response] || {}
end
start() click to toggle source
# File lib/blacklight/solr/response/response.rb, line 12
def start
  response[:start].to_s.to_i
end
total() click to toggle source

short cut to response

# File lib/blacklight/solr/response/response.rb, line 8
def total
  response[:numFound].to_s.to_i
end