This may not be possible to do natively in Sphinx but just on the off
chance it is I wanted to pose this to the group:

Is it possible in Sphinx to distribute search results based on an
attribute so that results will be evenly distributed?  For example,
Google will only show one or two results from a site so there is a
good mix of sources for a given search.

So to give an example, say I have an attribute for the 'source' of the
result.  I would like the results to be sorted by relevance but
limited to the top 1 from each source.  However to add to this, I
would like the remaining results for each source to be present in the
results but only in batches of 1 per source.  So, a result set might
look like:

 - source 1 top result
 - source 2 top result
 - source 3 top result
 - source 1 2nd result
 - source 2 2nd result
 - source 3 2nd result
 etc.

Thanks!
Tom

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