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
hits=2250 status=0 QTime=0
I would like to have:
How can I achieve this using acts_as_solr? I have tried :include &
:fields options but they don’t work.
Thanks in advance.