Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Mike Pack Solr Article 2

View gist:1990160
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?

Owner

Typo..thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.