The latest release of the indexed search engine has a minor change,
allowing
you to do either “AND” searches or “OR” searches. The search method has
been
modified to take an options parameter.
For example, a search such as
IndexableRecord::search(“foo bar”, :type => :all)
would return indexed records that contained both “foo” and “bar” in the
indexed content.
A search such as
IndexableRecord::search(“foo bar”, :type => :any)
would return indexed records that contained either “foo” or “bar” in the
indexed content.
For more information, to read the docs, browse the source, or download
the
code check out the project page at
http://lance.langwell-ball.com/pages/indexed-search
Enjoy!