Hi,

I have a Page class and some pages types with single table inheritance
usage.

I've installed thinking sphinx and latest sphinx.

In my Page model I've left only two attributes to index:
define_index do
  indexes title
  indexes description
end

inheritance column is set to :class_name

After running some queries I've realised that only pages with
class_name == nil are found. I've tried to run ArticlePage.search ''
to get pages with class_name == "ArticlePage" but it returns 0
results.

How to force TS to find all types of records?

--~--~---------~--~----~------------~-------~--~----~
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