Friday, October 12, 2012

[Rails] Re: Rails 3.2 what are the best gems for full-text search in sql db ?



On Thursday, 11 October 2012 13:45:02 UTC-4, Erwin wrote:
there are a lot of solutions , some gems requiring a separate server
setup...

I need to search for occurrences of some 'text in multiple columns
( :name; :email, :description, ..)

Should I actually setup a SOLr server ?


Depending on what you're looking for, Sunspot may be useful - I've used it for a number of projects that needed full-text seach + filtering etc. There's a Railscast that should help you get started:

http://railscasts.com/episodes/278-search-with-sunspot


--Matt Jones 

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/gvulhcVGBrEJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate