Sha256: ae8f79ce294593bc8701b9805d5fcf1a17c1fe3636fc9291d34d21cdb02953b3

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require 'sunspot_rails'
Dir[File.join(File.dirname(__FILE__), 'extensions', 'solr_adapter', '*.rb')].each {|file| require file }

module Georgia
  module Indexer
    class SolrAdapter

      # Delegate search_index to the model
      # Search method is taken by Sunspot
      def search model, params
        model.search_index model, params
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.4 lib/georgia/indexer/solr_adapter.rb