Little Ferret Problem


#1

I’ve implemented Ferret, using the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails

I get no errors in the application at all… however, I always get 0
results.
I built an index off of some data, it exists in the index/ directory,
the
form submits find… etc…

Just 0 results… all the time :slight_smile:

I confirmed the data from my models is being put into the index…
however,
am having a hard time debugging why the lookup isn’t working.
Any insight would be greatly appeciated !
Thanks !

Dylan


#2

Write up a test that shows your code not working. That will help in
figuring out what is wring.


#3

lol… I would… but thought somebody (Jan perhaps ?) may have some
insight
into this prior to going this deep.
Her implementation contains a lot of code, and I’ve debugged as far as I
can
without going into the Ferret source… which I was hoping I wouldn’t
have
to do :expressionless:


#4

Hi,

sorry, but haven’t had a chance lately to test myself with newer
Versions of
Ferret.

It would be great if you could update the wiki page while you are going
on.
Please have a look at the ferret wiki. http://ferret.davebalmain.com as
well
as the rforum code http://rforum.andreas-s.net/trac/ for more advanced
examples of ferret-rails integration. There are quite a few railers who
have
managed the integration in different ways judging by this mailing list
and
the ferret mailing list.

Best Regards
Jan P.

2006/2/1, Dylan S. removed_email_address@domain.invalid:


#5

Hi Dylan,

Sorry for the slow reply. My guess would be that you are searching a
different field than the one you put your data in. I’d need to see a
some of your code to tell for sure. I hope you work out your problem.

Cheers,
Dave


#6

Thanks Jan, as I debug more (when I have time), I’ll update this thread
as
well as the wiki if needed. Thank you !


#7

Hey David !

Thanks very much for the reply. I’ve put this on the back-burner for
now,
as I have a million other priorties at the moment, but when I revisit
it,
I’ll definitely keep you posted.

By the way, thank you so much (and Jan for the tutorial !) for this
project. Great job !

Dylan