So… I kinda run Solr and Elasticsearch as a service. (Websolr and Bonsai,
you can find them on Heroku.) I've fielded a bunch of questions about all
of those services, and even did a talk about Sunspot at SDRuby waaaay back
in the day.

My recommendation these days: if you need to ask, go with Elasticsearch.

It's built on Lucene, which is where most of the search magic is happening
under the hood. It has good client libraries and integrations. I prefer
slinging hashes in elasticsearch-ruby to Sunspot's DSL. Elasticsearch has
the easiest learning curve, especially relative to its power. And its
superior usability means you're going to end up getting more out of the
system for much less effort by virtue of having more easily accessible
options and APIs to work with.

There are good reasons to use Solr. It's a very close second in my book.
It's a little more rigid, more solid-feeling, a little more aggressively
tuned for performance. It does less "magic" which can be nice when you're
at scale, where more moving parts can cause catastrophic cascading failure.
It's an Apache project, which means open governance, rather than a
corporate gatekeeper, if that's important to you. (It is for some.)

Postgres is wonderful in general, and its search is pretty adequate. Lucene
as a rule is going to be a lot better optimized in all cases, and
definitely has a lot more functionality.

I could probably go on.


On Thu, May 14, 2015 at 7:02 PM, Chris McCann <[email protected]> wrote:

> I'd like some opinions on what folks are using for search in their Rails
> apps currently as I need to implement one.
>
> Over the years I've seen:
>
> - solr
> - thinking_sphinx
> - elastic search
> - others whose names I can't remember
>
> If you are currently employing an app-wide search tool in a Rails app,
> what is it?  Why do you like it?  How long have you used it?
>
> Thanks!
>
> Chris McCann
>
> --
> --
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby
> ---
> You received this message because you are subscribed to the Google Groups
> "SD Ruby" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Nick Zadrozny
>

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to