Sha256: f0b9c46ac03e07553777f9f637d5db77a4d46b594ca9275b30c057e937a8b39f

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

module Georgia
  module Indexer
    module SolrAdapter

      require 'sunspot_rails' if defined?(Sunspot)

      # Delegate search_index to the model
      # Search method is taken by Sunspot
      def self.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.6 lib/georgia/indexer/solr_adapter.rb