hi!

i need to show search results grouped by Model

for example:

i have in my controller @results = ThinkingSphinx.search
params[:query], classes: [Blog, Article]

and so i need to show to user:

===============
"5 results found in blog posts"
Blog result 1
...
Blog result 5
------
"3 results found in aticles"
Article result 1
...
Article result 3
===============

thanx in advance!

-- 
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