# File lib/thinking_sphinx/facet_search.rb, line 16 def for(hash = {}) for_options = {:with => {}}.merge(options) hash.each do |key, value| attrib = ThinkingSphinx::Facet.attribute_name_from_value(key, value) for_options[:with][attrib] = underlying_value key, value end ThinkingSphinx.search *(args + [for_options]) end