A facets search actually makes a request to Sphinx for each facet,  
with grouping arguments, so even if you combined the results from each  
facet search, you wouldn't get the results of a normal search.

In other words, you're not duplicating queries, so there's no way to  
speed things up.

-- 
Pat

On 02/12/2009, at 6:22 AM, mrmanishs wrote:

> Currently, I'm calling .search on a model to get the search results
> and then .facets to get the facets. To save time/resources, is there a
> way to call both? I assume it has to call sphinx twice. Pseudo-code
> type example:
>
> items = MyObject.search_and_facets query
>
> items.objects <== returns the resulting search results
>
>
>
> --
>
> 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 
> .
>
>

--

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