I guess it's probably: indexes tags.name, :as => :tag, :facet => true
that is slowing the processing. Should I be using attributes here to get a faster result ? Could I use facets with those ? -- Thibaut On Sep 2, 2:44 pm, Thibaut Barrère <[email protected]> wrote: > Hi guys, > > now that I have some tagging functionality working with facets, it > looks like "model.facets" is quite slow (~ 3 seconds, see bench and > index definition below). > > Is it faster on your apps, or is it expected ? > > (I'm using the latest TS with Sphinx 0.9.8.1-release (r1533)) > > thanks for any hint, > > -- Thibaut > > >> bench { Item.facets } > > [2009-09-02 14:41:17] DEBUG Querying Sphinx: > [2009-09-02 14:41:17] DEBUG Querying Sphinx: > [2009-09-02 14:41:20] DEBUG Querying Sphinx: > 2.797898 seconds > => nil > > my index definition is: > > define_index do > indexes title > indexes summary > indexes source, :facet => true > indexes tags.name, :as => :tag, :facet => true > indexes pricing, :facet => true > has update_date > end --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
