# \[ANN\] acts\_as\_solr v.0.8.5 has been released

**URL:** <https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-5-has-been-released/104312>\
**Category:** Rails\
**Created:** [May 16, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-5-has-been-released/104312 "2007-05-16T18:00:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thiago\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@Thiago\_J](https://www.ruby-forum.com/u/Thiago_J)\
**Post date:** [May 16, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-5-has-been-released/104312/1 "2007-05-16T18:00:49Z")

</div>

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](http://acts-as-solr.rubyforge.org)) and  
repository ([http://opensvn.csie.org/acts\_as\_solr/trunk](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.
