Hi Adam

I've not used Solr, but I hear decent things about it (although  
granted, my head is much more in the Sphinx space). Evan Weaver did  
some benchmarking about a year ago, looks as if Solr and Sphinx are  
pretty similar, except when it comes to indexing:
http://blog.evanweaver.com/articles/2008/03/17/rails-search-benchmarks/

Keep in mind that since this was written, Evan has flagged Ultrasphinx  
as 'no longer under active development', and Thinking Sphinx has come  
a long long way. acts_as_solr has received some commit love too, I  
think, but I hear mixed reports about whether acts_as_ferret is still  
being actively developed, or just getting minor bug fixes.

Also, Solr's Java - and personally, I've not touched Java since Uni,  
and not rushing to add it to a machine unless I need it. If you're  
comfortable with Java, then that probably is something in Solr's favour.

Solr has inbuilt support for facets, whereas Sphinx has attributes  
(which can be used the same way) - so Ultrasphinx and more recently  
Thinking Sphinx have built facet support into the Ruby side of things.  
Solr's facets do have the ability to collect by range instead of just  
single values of data.

You're right about GitHub using Solr (I checked - because I thought  
they were using Sphinx. :) I know EngineYard are big fans of Sphinx  
though - as evidenced by the first comment in Evan's post. And I  
obviously have some bias, so take all this with a grain of salt.

Kim: Great to know TS has helped :)

-- 
Pat
e: [email protected]    || m: +614 1327 3337
w: http://freelancing-gods.com || t: twitter.com/pat
discworld: http://ausdwcon.org || skype: patallan

On 23/01/2009, at 12:08 PM, Adam Salter wrote:

>
> At the risk of being labelled 'blasphemer!!!' (note multiple
> exclamation marks ;)
> What does everybody think of SOLR?
> I think github uses solr as their search backend...
>
> -Adam
>
> On 23/01/2009, at 1:00 PM, Kim Pepper wrote:
>
>>
>> As a followup, I found it difficult to deal with acts_as_sphinx in
>> multiple rails envs, so I switched over to thinking_sphinx. Lo and
>> behold, my search code got slightly more simpler than the 11 line
>> behemoth listed above.
>>
>> def search
>> @application_forms = ApplicationForm.search(params
>> [:query], :conditions => {:complete => true}, :page => (params[:page]
>> || 1))
>> end
>>
>> Thanks for a great plugin Pat! You're a frickin' legend.
>>
>> Kim
>>
>>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to