Act As Searchable With Similarity plugin

Plugin details

acts_as_searchable is one of the most useful plugins which's enabling us to add a fulltext search feature to our models/resources easily.

Unfortunately, it is lacking an interface to the features of searching by similarity which's provided by HyperEstraier.

So I wrote some codes to add an interface which's to exploit it. This is acts_as_searchable_with_similarity.

Websitehttp://blog.s21g.com/articles/232 Repositoryhttp://svn.s21g.com/public/rails/plugins/acts_as_searchable_with_similarity Tags similarity, Search, acts LicenseRuby's (MIT)

Documentation

Install the plugin:
ruby script/plugin install http://svn.s21g.com/public/rails/plugins/acts_as_searchable_with_similarity

How to use?

class Article < ActiveRecord::Base
  acts_as_searchable
end
Article.similarity_search(target_article,  :limit => 5)


Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 28 days ago