module Ddr::Index::Connection::Methods

Public Instance Methods

count(params) click to toggle source
# File lib/ddr/index/connection.rb, line 27
def count(params)
  select(params, rows: 0).num_found
end
page(*args) click to toggle source
# File lib/ddr/index/connection.rb, line 23
def page(*args)
  Response.new paginate(*args)
end
select(params, extra={}) click to toggle source
# File lib/ddr/index/connection.rb, line 19
def select(params, extra={})
  Response.new post("select", params: params.merge(extra))
end
solr() click to toggle source
# File lib/ddr/index/connection.rb, line 15
def solr
  Blacklight.default_index.connection
end