I have a products model which is joined to stores model through
inventorizations model.
my product models are is follows
product
has_many :inventorizations
has_many :stores, :through => :inventorizations
define_index do
indexes :name
indexes :id
indexes description
indexes age
indexes productType
indexes brand.name, :as => :brandName
indexes stores(:name), :as => :storeName
end.
When i do a search on the store name it does not return any products.
Am i missing something, There is data in all three tables everything
else seems to work correctly.
Many thanks
--
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.