README.md in mongoid_search-0.1.1 vs README.md in mongoid_search-0.1.2
- old
+ new
@@ -1,6 +1,6 @@
-Mongoid Searh
+Mongoid Search
============
Mongoid Search is a simple full text search implementation for Mongoid ORM.
Installation
@@ -56,12 +56,15 @@
=> 1
Options
-------
-:match - :any for match any occurrence, :all to match all ocurrences. Default is :any
+:match:
+ :any - match any occurrence
+ :all - match all ocurrences
+ Default is :any.
- search_in :brand, :name, { :tags => :name }, { :match => :all }
+ search_in :brand, :name, { :tags => :name }, { :match => :any }
Product.search("apple motorola").size
=> 1
search_in :brand, :name, { :tags => :name }, { :match => :all }