Agile Web Development

Build it. Launch it. Love it.

acts_as_searchable_with_similarity

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.

How to use?

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

Vitals

Home http://blog.s21g.com/articles/232
Repository http://svn.s21g.com/public/rails/plugins/acts_as_searchable_with_similarity
License Rails' (MIT)
Tags Tag_red
Rating (4 votes)
Owner genki
Created 29 November 2007

Comments

  • Michael
    2 December 2007

    As of Dec 02, 2007 repository is no longer available.

  • 5 December 2007

    Oh, sorry for inconvenience.

    As you think, this repository are hosted on my home server ;)

    It might have downed on that day...

    I'd checked it on Dec 5 and it had been active.

    Could you try again?

Add a comment