Does anyone have any insight into how to break down a set of items
(that have prices) into ranged groups, i.e.

< $20(5)
$20-$50(3)
$50-$100(6)
>$100(3)
. It seems to me that there needs to be a function that somewhat
distributes items into the different "buckets" but also have some
business logic that makes sure the "buckets" make sense, so you don't
get something like:
< $19(4)
$19-$55(4)
$55-$84(5)
>$84(4)

Does anyone have ideas on how this type of thing is done?

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