# Little Ferret Problem

**URL:** <https://www.ruby-forum.com/t/little-ferret-problem/53312>\
**Category:** Rails\
**Created:** [February 1, 2006, 7:51am UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312 "2006-02-01T07:51:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 1, 2006, 7:51am UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/1 "2006-02-01T07:51:15Z")

</div>

I’ve implemented Ferret, using the instructions here:  
[http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails](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 🙂

# 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

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 1, 2006, 8:00am UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/2 "2006-02-01T08:00:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 1, 2006, 8:18am UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/3 "2006-02-01T08:18:25Z")

</div>

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 😑

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 1, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/4 "2006-02-01T13:49:53Z")

</div>

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](http://ferret.davebalmain.com) as  
well  
as the rforum code [http://rforum.andreas-s.net/trac/](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](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 4, 2006, 1:38am UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/5 "2006-02-04T01:38:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 1, 2006, 7:49pm UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/6 "2006-02-01T19:49:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 4, 2006, 2:00am UTC](https://www.ruby-forum.com/t/little-ferret-problem/53312/7 "2006-02-04T02:00:11Z")

</div>

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
