Hi!

On Sat, Jan 13, 2007 at 02:31:19PM -0500, William Flanagan wrote:
> Hi all,
> 
> I'm trying to use acts_as_ferret and have run into a brick wall.
> 
> My model is Page
> My controller is Pages_controller.
> 
> When in console, I can search for contents, and find results.  For  
> example, when I search for "spam" it "finds" 7 results.
> 
> => #<FerretMixin::Acts::ARFerret::SearchResults:0x2693934  
> @total_hits=7, @results=[]>
> 
> you can do a "p.total_hits" and get 7.. but the results are empty. If  
> i iterate over the p in this i get no entries.
> 
> How do I get to the entries that it found for the search?  Am I doing  
> something wrong?

Looks like Ferret got 7 hits from it's index, but acts_as_ferret could
not find them in your db. could you please look into development.log for
some relevant output when doing this search on the console ?

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