Sha256: 1ff2485ad4af61af9b8b5d4e3e9acdd082d5779863fa739a365327c989b20c2f

Contents?: true

Size: 225 Bytes

Versions: 14

Compression:

Stored size: 225 Bytes

Contents

class Alpha < ActiveRecord::Base
  define_index do
    indexes :name, :sortable => true
    
    has value, created_at, created_on
    has cost, :facet => true
    
    set_property :field_weights => {"name" => 10}
  end
end

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
thinking-sphinx-1.3.4 features/support/models/alpha.rb
thinking-sphinx-1.3.3 features/support/models/alpha.rb
thinking-sphinx-099-1.3.2 features/support/models/alpha.rb
thinking-sphinx-1.3.2 features/support/models/alpha.rb
moneypools-thinking-sphinx-1.3.1 features/support/models/alpha.rb
thinking-sphinx-1.3.1 features/support/models/alpha.rb
thinking-sphinx-099-1.3.1 features/support/models/alpha.rb
thinking-sphinx-099-1.3.0 features/support/models/alpha.rb
thinking-sphinx-1.3.0 features/support/models/alpha.rb
thinking-sphinx-099-1.2.13 features/support/models/alpha.rb
thinking-sphinx-1.2.13 features/support/models/alpha.rb
moneypools-thinking-sphinx-1.2.13 features/support/models/alpha.rb
moneypools-thinking-sphinx-1.2.12 features/support/models/alpha.rb
warp-thinking-sphinx-1.2.12 features/support/models/alpha.rb