I am trying to index rich documents, but I have to deal with some problems. I follow this link:
http://cbpowell.wordpress.com/2012/09/18/indexing-rich-documents-with-rails-sunspot-solr-sunspot-cell-and-carrierwave-cookbook-style/
$rake sunspot:reindex rake aborted! RSolr::Error::Http: RSolr::Error::Http - 400 Bad Request Error: {'responseHeader'=>{'status'=>400,'QTime'=>29},'error'=>{'msg'=>'undefined field type','code'=>400}} Request Data: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><delete><query>type:Article</query></delete>"
Note: Solr we are configured manually (not inside the application)
http://archive.apache.org/dist/lucene/solr/4.7.0/
solr 4.7.0, tika-core-x.x.jar tika-parser-x.x.jar. sunspot_cell_jars gem ( www.java2s.com/Code/Jar/t/tika.htm )
sunspot_cell gem