Returning all fields indexed in solr using acts_as_solr

Hello,

I am new to Ruby and Rails.

I have an application that I would like to add searching. I am using
acts_as_solr for this.

To search I do:

@results = Model.find_by_solr(params[:q])

However results contain only the primary key and score. It doesn’t
contains other fields. The Solr log shows:

INFO: [] webapp=/solr path=/select
params={fl=pk_i,score&json.nl=map&qt=standard&wt=ruby&q=(new)+AND+(type_s:“Link”)}
hits=2250 status=0 QTime=0

Instead of:
fl=pk_i,score

I would like to have:
fl=*,score

How can I achieve this using acts_as_solr? I have tried :include &
:fields options but they don’t work.

Thanks in advance.

Mugoma.