Hi all,
My class Project has_many locations. TS happily creates a sphinx
configuration to index locations.name which works like a charm.
But: I don't need all of my instances of Location in the index and as
facets. In fact, I'd need a WHERE clause for this association.
Something like
indexes locations
(:name), :as=>:location_name, :facet=>true, :conditions=>
{ :artificial=>false }
would do the job and index only those location instances whose
database field "artificial" is false. Is this supported already? Can I
do this with TS, at all? Regards,
Christian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---