Mongoid and Indextank sitting in a tree
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead of abhishiv:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.md
Rakefile
mongotank.gemspec

README.md

MongoTank

Usage

Quick example:

class Post
  include Mongoid::Document
  include MongoTank
  search_in :title, :body, :author_sn, :realtime => false
end

search = MongoTank::Query.new
search.where(:body => "MongoTank").with(:author_sn => "abhishiv")
results = search.execute