Sha256: 4f9736274e858e5c6a305b567bbab5656ed55f637572768372cb589a6e40e876
Contents?: true
Size: 510 Bytes
Versions: 33
Compression:
Stored size: 510 Bytes
Contents
class Alpha < ActiveRecord::Base define_index do indexes :name, :sortable => true has value, created_at, created_on has cost, :facet => true has active set_property :field_weights => {"name" => 10} end define_index 'alternative' do indexes :name, :as => :alternative_name, :sortable => true has value, created_at, created_on has cost, :facet => true set_property :field_weights => {'alternative_name' => 10} where "value > 3" end end
Version data entries
33 entries across 33 versions & 10 rubygems