The current readme file on solr-ruby's repository is outdated. If you
follow the example provided Solr will throw an exception (SEVERE:
org.apache.solr.core.SolrException: ERROR:unknown field 'title_text')
because its trying to insert an unknown field type:

# add a document to the index
 conn.add(:id => 123, :title_text => 'Lucene in Action')

which should be (as described on the wiki)
# add a document to the index
 conn.add(:id => 123, :title_t => 'Lucene in Action')

--
Thiago Jackiw
acts_as_solr => http://acts-as-solr.railsfreaks.com

Reply via email to