Hi

Due to our usage of STI we need some conditions in our indexing.

Could you please provide example how to use IF with an association ?

we have
Core < Part
Assembly < Part
assembly has one core


here is what i need

define_index do
 has dimension if Core
 has core.dimension , :as => :dimension  if Assembly
end

I hope this is clear

Thanks

Kirill Radzikhovskyt

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