Plugins - acts_as_searchable_with_similarity

StarAdd to favorites

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)

genki

http://blog.s21g.com/articles/232

http://svn.s21g.com/public/rails/plugins/acts_as_searchable_with_similarity

Rails' (MIT)

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Model

Tags

Comments

Add a comment
genki 5 Dec 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?

Michael 2 Dec 2007

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

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?