Hi Christian What you're seeing here is definitely a bug in TS. I'll try to investigate and fix it when I have a spare moment. If you could create an issue ticket for it on GitHub to ensure I don't forget, that'd be great. http://github.com/freelancing-god/thinking-sphinx/issues
Cheers -- Pat On 04/08/2009, at 12:21 PM, Christian Aust wrote: > > Hi all, > > Pat released excerpts support recently and so I switched my > application from Ultrasphinx to TS. I'm very happy with the way how TS > defines the index, that's a lot better than the complex hash structure > which ultrasphinx uses. However, I'm struggling with facets on a field > coming in from a association: > > My class Project has_many locations, so in project.rb I wrote: > > indexes locations(:name), :as=>:location_name, :facet=>true > > All good and true, but facet support doesn't give me quite the results > that I'd expect: A project P1 has locations L1, L2, another project P2 > has locations L2 and L3. I'd like to see facets like these: > > L1 (1) > L2 (2) > L3 (1) > > Instead I get > > [L1, L2] (1) > [L2, L3] (1) > > Did I do something wrong? Any hint is appreciated. Regards, > > Christian > > p.s.: Is there a way to add ORDER_BY to facets? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
