On Fri, Feb 6, 2009 at 5:58 PM, Ralph Wood <[email protected]> wrote:
> I have a table called 'entries' with lots of sentences, one per row > (id). I need to find specific sentences that have the words I'm looking > for anywhere in them. If you're using MySQL, you can create a FULLTEXT index on the field(s) in question and use MATCH: <http://dev.mysql.com/doc/refman/5.0/en/fulltext-natural-language.html> Other RDBMSs may have an equivalent. HTH, -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

