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

**URL:** <https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-has-been-released/103928>\
**Category:** Rails\
**Created:** [May 11, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-has-been-released/103928 "2007-05-11T19:04:55Z")\
**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 11, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-8-has-been-released/103928/1 "2007-05-11T19:04:55Z")

</div>

The new release v.0.8 of acts\_as\_solr is out and includes:

NEW - New video tutorial  
NEW - Faceted search has been implemented and its possible to ‘drill-  
down’ on the facets  
NEW - New rake tasks you can use to start/stop the solr server in  
test, development and production environments: (thanks Matt Clark)  
rake solr:start|stop RAILS\_ENV=test|development|production (defaults  
to development if none given)

NEW - Changes to the plugin’s test framework and it now supports  
Sqlite as well (thanks Matt Clark)  
FIX - Patch applied (thanks Micah) that allows one to have multiple  
solr instances in the same servlet  
FIX - Patch applied (thanks Micah) that allows indexing of STIs  
FIX - Patch applied (thanks Gordon) that allows the plugin to use a  
table’s primary key different than ‘id’  
FIX - Returning empty array instead of empty strings when no records  
are found  
FIX - Problem with unit tests failing due to order of the tests and  
speed of the commits

== About ==  
This plugin adds full text search capabilities and many other nifty  
features from Apache’s Solr to any Rails model

== Installation ==  
On your Rails’ root directory, just type  
script/plugin install [http://opensvn.csie.org/acts\_as\_solr/trunk](http://opensvn.csie.org/acts_as_solr/trunk)

== Very Basic Usage ==  
Just include the line below to any of your ActiveRecord models:  
acts\_as\_solr

Or if you want, you can specify only the fields that should be  
indexed:  
acts\_as\_solr :fields =\> [:name, :author]

Then to find instances of your model, just do:  
Model.find\_by\_solr(query) or Model.find\_id\_by\_solr(query)

Or if you want to specify the starting row and the number of rows per  
page:  
Model.find\_by\_solr(query, :start =\> 0, :rows =\> 10)

Get it while it’s hot =\> [http://acts-as-solr.rubyforge.org](http://acts-as-solr.rubyforge.org)

–  
Thiago J.  
acts\_as\_solr =\> [http://acts-as-solr.rubyforge.org](http://acts-as-solr.rubyforge.org)  
Sitealizer =\> [http://sitealizer.rubyforge.org](http://sitealizer.rubyforge.org)
