I have a model:
class Task < ActiveRecord::Base
belongs_to :taskable, :polymorphic => true
define_index do
has taskable.project_id, :type => :integer, :as => :project_id
end
end
And when I run index, I get the following error:
indexing index 'task_core'...
ERROR: index 'task_core': sql_range_query: Unknown column
'tasks.project_id' in 'field list'
This bug appeared earlier but was fixed but couple of commits:
http://groups.google.com/group/thinking-sphinx/browse_thread/thread/a87f1f6f763f1d01/37c5db27ee935b70?lnk=gst#37c5db27ee935b70
I use version 1.1.23 now but bug appeared again. How can I get rid of
it?
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---