Dear All (and Pat :)

I have a table with active Items and a 2nd one with ArchivedItems (same
table structure).

class Items < Activerecord::Base
  define_index do ... end
end

class ArchivedItems < Items
  set_table_name :archived_items
end

I would like to have 2 indexes, one for Items and another one for
ArchivedItems, but when I run rake ts:config only the configuration for
Items is generated, ArchivedItems is skipped because it doesn't contains a
define_index.

If I copy and paste the index definition from Items to ArchivedItems I end
up with a configuration that include Items and Archived items, but also
includes a -wrong- duplicated definition for "items_delta".

Am I missing something? If this is supposed to work?

Thanks!

-- 
Martin Sarsale
msn: [email protected]
jabber: [email protected]
twitter: http://twitter.com/runixo
linkedin: http://www.linkedin.com/in/msarsale
sumavisos: http://www.sumavisos.com
blog: http://runa.tumblr.com

--

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