Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

s01ipsist/sunspot_mongoid

This branch is 1 commit ahead of, 2 commits behind jugyo/sunspot_mongoid:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

aaf39a6 · Jun 27, 2011

History

37 Commits
Jul 5, 2010
Jun 27, 2011
Jul 5, 2010
Jul 5, 2010
Aug 23, 2010
Jul 5, 2010
Feb 16, 2011
Jul 5, 2010
Mar 4, 2011
Mar 1, 2011
Mar 4, 2011

Repository files navigation

sunspot_mongoid

A Sunspot wrapper for Mongoid.

Install

gem install sunspot_mongoid

Examples

class Post
  include Mongoid::Document
  field :title

  include Sunspot::Mongoid
  searchable do
    text :title
  end
end

For Rails3

as gem:

add a gem to Gemfile as following,

gem 'sunspot_mongoid'

as plugin:

add gems to Gemfile as following,

gem 'sunspot'
gem 'sunspot_rails'

and install sunspot_mongoid as rails plugin,

rails plugin install git://github.com/jugyo/sunspot_mongoid.git

Links

Copyright

Copyright (c) 2010 jugyo. See LICENSE for details.

About

A Sunspot wrapper for Mongoid.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%