On Sat, Feb 10, 2007 at 01:00:46AM +0100, Mark wrote:
> Hey all,
> 
> I've been really happy with ferret thus far and all my search on my site
> is based on it. One of the recent challenges I ran into is changing some
> of my pagination within my site. Until now, I just used the tutorials
> out there that talk about how to get pagination working with
> acts_as_ferret.
> 
> Recently, I decided to change my pagination to begin using the
> "Paginating Find" plugin.
> 
> http://cardboardrocket.com/pages/paginating_find

as this hooks into AR's find method, you'd have to issue the active
record find() call to retrieve the result set by yourself and let aaf
just handle the pure ferret search by using find_id_by_contents instead
of find_by_contents. 

However any sorting done by Ferret (by score or any other sorting by 
Ferret field) will be lost that way.


Jens


-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to