Hi Piotr I saw this problem the other day with someone else, off-list. Not entirely sure it's a bug with TS, but let's see if it's the same cause.
In script/console, when you type Page.send(:subclasses), what do you get back? -- Pat On 18/10/2008, at 8:21 PM, Piotr Sarnacki wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
