On 19/01/2008, at 10:17 AM, Jeff wrote:

> How difficult would it be to change over to Sphinx?


The overall process? Not hard, with the caveat Adrian mentioned (ie:  
advanced Ferret features).

But keep in mind Sphinx does not allow updating fields of index  
records (Ferret does) - you have to re-index to get the latest changes  
into Sphinx. There are ways around this, to some extent - delta  
indexes, containing just the recent changes - but it doesn't seem to  
be critical to everyone.

Essentially, though:
- Choose a sphinx plugin, and install it.
- Set up the configuration and indexes, either manually, or within  
your models (depending on the plugin)
- Install sphinx
- Index your data
- Switch your ferret-specific search calls to use the sphinx plugin's  
search calls.
- Start the sphinx daemon (searchd)
- Confirm everything works

Or something along those lines. I'm sure the EngineYard crew have a  
better idea though.

-- 
Pat
e: [EMAIL PROTECTED]    || m: 0413 273 337
w: http://freelancing-gods.com || p: 03 9386 0928
discworld: http://ausdwcon.org || skype: patallan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to