Jens Kraemer wrote:
> it should get called whenever acts_as_ferret indexes a record, since it
> is referenced in the :fields hash. what does aaf log when you create a
> new Url record ?

Sorry for the delayed response.  I find it annoying when thread are 
started that could be helpful to others and the author doesn't take time 
to indicate what ultimately solved the problem.  So, I won't do that 
here.

You're right, url_parts IS being called when a Url is CREATED.  I was 
thinking that it would be called upon SEARCHING.  I guess that wouldn't 
make sense unless you wanted to re-index everything on every search (not 
a good idea).

So, the url_parts method works as expected.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to