This is a straw-man pie-in-the-sky thinking on a Ruby Solr DSL: class Book attr_reader :isbn attr_reader :title attr_reader :subjects attr_reader :authors attr_reader :dates include Solrable solr :id => :isbn solr_facet :subject solr_facet :year do self.dates.collect { |date| date.year } end end # Search for full-text matches in the author* field Book.search_by_author("sekida") # Search for full-t