How can I debug Solr search queries when using the Sunspot gem on Rails? I have some queries that are returning bizarrely high scores, and I\'m trying to get to the bottom
If setting log_level to FINEST doesn't work, you should add this line to an initializer:
require "sunspot/rails/solr_logging"
source: http://outoftime.github.com/2010/03/03/sunspot-1-0.html