public
Created

Mike Pack Solr Article 2

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7
class Product < ActiveRecord::Base
searchable do
text :name, :boost => 2.0
text :color
boolean :used
end
end

Is the semi colon on line 3 a typo? Or is that part of the DSL?

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.