some answers inline…
Vamsee K. wrote:
I’m newly discovering Ferret, and just did a crash course on Lucene to
(I get the concepts behind it). But I’m have a few doubts:
- What is the ‘recommended’ way of integrating Ferret into my app now?
The gem version or the plugin?
It’s not a question of ‘OR’. You’ll definitly need the ferret gem,
because this is providing the ferret functionality to build and query
indexes (and so on). The plugin just tries to offer a convenient way to
integrate the functionality provided by the gem. So the first step has
to be: gem install ferret
- Where do I checkout the plugin from? Do I just copy the version on
As you have realized integration questions are not very advanced yet.
I’m not aware of a repository that provides a svn checkout of a plugin.
Maybe these are in the works but if you’ve got the resources and get the
experience while you are going on i’m pretty sure that the rails crowd
would love a “best way of ferret-integration” plugin.
Those apart, Ferret is really lacking a simple guide. The wiki page
“HowToIntegrateFerretWithRails” is sometimes not very clear.
Indeed. This was my first approach with rails and ferret and it
definitly needs a clean up. I think the Rails wiki would be a great
place for putting together the different integration efforts that you
might find on the ferret wiki, the rails mailing list, this list and the
love to clean it up or create a separate page for ferret on the wiki, if
you guys help me out figuring Ferret. It will be very useful to me and
Regarding your offer of help: GREAT. I would suggest you try to put
things together for your app and share with us if you’ve got something.
I think its great that Dave is putting his power into advancing ferret
performance-wise. Ferret is a ruby gem and should work not only with
rails. So its just fair that we (the rails community) commit a best
practice of integration - that shouldn’t be too ‘heavy lifting’