[ANN] acts_as_solr v.0.8.5 has been released

The acts_as_solr plugin v.0.8.5 has been released and this short
release includes:

FIX: There’s no need to specify the :field_types anymore when doing a
search in a model that specifies a field type for a field. The field
types are automatically traced back when they’re included

#Indexing
class Electronic < ActiveRecord::Base
acts_as_solr :fields => [{:price => :range_float}]
end

#Searching
Electronic.find_by_solr “ipod AND price:[* TO 59.99]”

FIX: Better handling of nil values from indexed fields. Solr
complained when indexing fields with field type and the field values
being passed as nils.

NEW: Adding Solr sort (order by) option to the search query (thanks
Kevin Hunt)

#This will return the records in ascending order based on the price
Electronic.find_by_solr “ipod AND price:[* TO 59.99]”, :order =>
‘price asc’

FIX: Applying patch suggested for increasing the Solr commit speed
(thanks Mourad Hammiche)
FIX: Updated documentation

web => http://acts_as_solr.railsfreaks.com
svn => svn://svn.railsfreaks.com/projects/acts_as_solr/trunk

*Note: the old address (http://acts-as-solr.rubyforge.org) and
repository (http://opensvn.csie.org/acts_as_solr/trunk) aren’t being
updated anymore and will become obsolete by release version 1.0.
Please use the addresses mentioned above.

Have fun!


Thiago J.