sunspot_mongo_mapper

A Sunspot wrapper for MongoMapper.

Install

Add the gem to your Gemfile

gem 'sunspot_mongo_mapper'

Usage

class Post
  include MongoMapper::Document

  key :title

  searchable do
    text :title
  end
end

Links

Credits

This gem was adapted from sunspot_mongoid