On Wed, Feb 28, 2007 at 04:40:26PM +0100, Linus wrote:
> William Flanagan wrote:
> >
> > 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=[]>
> >
> I got the similar problem here:
> >> SearchController.new.full_text_search("*","products",:page => 1)
> #<FerretMixin::Acts::ARFerret::SearchResults:0x46553d4 @total_hits=7,
> @results=[]>
> => [7, #<FerretMixin::Acts::ARFerret::SearchResults:0x46553d4
> @total_hits=7, @results=[]>]
> >>
>
> Any ideas how to debug it? Why it is returning 7 here too?
for some reason aaf doesn't get any records from your db. have a look
into your log files, there you should see the sql aaf issues to retrieve
the records.
Jens
--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk