ThinkingSphinx::SphinxError: index video_core: INTERNAL ERROR:
incoming-schema mismatch (in=ordinal title:32@160, my=ordinal title:
32@0)
What this mean?
class Video < ActiveRecord::Base
define_index do
indexes title
indexes description
indexes keywords, :as => :tags
has title, description, keywords
end
...
schema.rb
create_table "videos", :force => true do |t|
t.string "youtube_id"
t.string "title"
t.datetime "created_at"
t.datetime "updated_at"
t.string "description"
t.string "keywords"
t.integer "keywords_count"
t.integer "duration"
t.boolean "racy"
t.time "published_at"
t.string "categories"
t.string "author"
t.string "thumb_url"
t.string "thumb_big_url"
t.integer "rating_min", :default => 1
t.integer "rating_max", :default => 5
t.float "rating_avg"
t.integer "rating_count"
t.integer "view_count"
t.integer "favorite_count"
t.float "rating_score"
t.float "views_score"
t.integer "category_id"
end
I ran ts:index and ts:start
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.