Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Mike Pack Solr Article 2
class Product < ActiveRecord::Base
searchable do
text :name, :boost => 2.0
text :color
boolean :used
end
end
@ratrocket

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

@ruprict
Owner
ruprict commented Mar 9, 2012

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.