Hi Pat,
Forked code has some nicer logging (at least I think).. that shows
like this (with nice colors):
> Sphinx Querying: '@name john'
> Sphinx (0.066103s) Found 141 results
> User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`id` IN
> (38513,42492,1413,2874,3766,4484,7198,9188,10538,13048,14489,15779,16247,16488,19189,20108,20632,21923,22547,22816))
You could pull it?
I will look at the current facets implementation and how Riddle
supports multiple queries. Would be nice to have the new Riddle in TS.
My idea on Facets (from the top of my mind) is just to add some
queries to a search so the facets are returned. Eg. the added search
fields would be:
{ :group_by => 'some_facet_attribute', :group_format
=> :attr, :group_clause => '@count desc' }
and maybe some per_page / limit changes..
We could then only use the result coming from Sphinx without doing any
Ruby stuff.
What is actually done on the Ruby side when I do a Model.facets (after
the Sphinx + SQL query..)?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---