Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepack committed Nov 30, 2011
1 parent e3b4b20 commit c12ee7e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -465,7 +465,19 @@ TODO

### More Like This

TODO
```ruby
class Post < ActiveRecord::Base
searchable do
text :body, :more_like_this => true
end
end

post = Post.first

results = Sunspot.more_like_this(post) do
minimum_term_frequency 5
end
```

## Indexing In Depth

Expand Down

0 comments on commit c12ee7e

Please sign in to comment.