Hi everyone,

I have concrete classes A, B and C that share an abstract base class D
(flagged with abstract_class? returning true). Each of the concrete
classes has the fields "name" and "description" and separate database
tables "a", "b" and "c".

I tried putting:

  define_index do
    indexes name, :sortable => true
    indexes description
  end

into the abstract base class hoping that sphinx would automatically
index A, B and C using these fields, but instead I get an error saying
that the database table for D doesn't exist. Is there a way to make
this work, or do I need to repetitively add the define_index into each
of the concrete classes?

Thanks!
Graham
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to