Sha256: 56c9eeeb9fdb0c7168c10f040d019bbf6fc6dfb0cb8f2b226a8969d61b9933de

Contents?: true

Size: 314 Bytes

Versions: 57

Compression:

Stored size: 314 Bytes

Contents

module Ddr::Index
  class Connection < SimpleDelegator

    def initialize
      super RSolr.connect(ActiveFedora.solr_config)
    end

    def select(params, extra={})
      Response.new get("select", params: params.merge(extra))
    end

    def page(*args)
      Response.new paginate(*args)
    end

  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
ddr-models-2.4.12 lib/ddr/index/connection.rb
ddr-models-2.4.11 lib/ddr/index/connection.rb
ddr-models-3.0.0.rc4 lib/ddr/index/connection.rb
ddr-models-3.0.0.rc3 lib/ddr/index/connection.rb
ddr-models-3.0.0.rc2 lib/ddr/index/connection.rb
ddr-models-3.0.0.rc1 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.22 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.21 lib/ddr/index/connection.rb
ddr-models-2.4.10 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.20 lib/ddr/index/connection.rb
ddr-models-2.4.9 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.18 lib/ddr/index/connection.rb
ddr-models-2.4.8 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.17 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.16 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.15 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.14 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.13 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.12 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.11 lib/ddr/index/connection.rb