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.7 lib/ddr/index/connection.rb
ddr-models-2.4.6 lib/ddr/index/connection.rb
ddr-models-2.4.5 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.10 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.9 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.8 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.7 lib/ddr/index/connection.rb
ddr-models-2.4.4 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.6 lib/ddr/index/connection.rb
ddr-models-2.4.3 lib/ddr/index/connection.rb
ddr-models-2.4.2 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.4 lib/ddr/index/connection.rb
ddr-models-2.4.1 lib/ddr/index/connection.rb
ddr-models-2.4.0 lib/ddr/index/connection.rb
ddr-models-2.4.0.rc6 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.3 lib/ddr/index/connection.rb
ddr-models-2.4.0.rc5 lib/ddr/index/connection.rb
ddr-models-2.4.0.rc4 lib/ddr/index/connection.rb
ddr-models-3.0.0.beta.2 lib/ddr/index/connection.rb
ddr-models-2.4.0.rc3 lib/ddr/index/connection.rb