Displaying 2 results from an estimated 2 matches for "rbitar".
Did you mean:
abitar
2006 Jul 21
3
acts_as_ferret with has_many relationship
Using Ferret and the acts_as_ferret plugin, I would like to retrieve
results based on models descended from a parent model:
class Post < ActiveRecord::Base
acts_as_ferret :fields => [ ''title'',
''body'',
:post_author,
:post_comments
]
...
has_one :author
has_many :comments
end
I would like to
2006 Aug 20
7
missing terms in index causing search errors
I am unable to find results for models when one or more of the terms are
not being indexed.
Lets suppose I index a User on the phrase "Ruby on Rails." If I then
search using User.find_by_contents("Ruby on Rails") I get no results,
since "or" is a common term and does not get indexed. Of course,
User.find_by_contents("Ruby Rails") works just fine.
I