Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mongoid and Indextank sitting in a tree
branch: master

This branch is 3 commits ahead of abhishiv:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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
Something went wrong with that request. Please try again.