| Class | ThinkingSphinx::Index |
| In: |
lib/thinking_sphinx/index.rb
lib/thinking_sphinx/index/faux_column.rb lib/thinking_sphinx/index/builder.rb |
| Parent: | Object |
| delta_object | [RW] | |
| model | [RW] | |
| name | [RW] | |
| sources | [RW] |
Create a new index instance by passing in the model it is tied to, and a block to build it with (optional but recommended). For documentation on the syntax for inside the block, the Builder class is what you want.
Quick Example:
Index.new(User) do
indexes login, email
has created_at
set_property :delta => true
end