Better HN
topnewbestaskshowjobs
Log inSign up

tlb_

1 karma · joined May 6, 2010 (16y ago) · 1 submissions

Submissions

comment 16y ago · link · parent

You can use sorted sets to find out how commonly words occur.

redis.zincrby(metaphone_key, item.item_id, 1)

This will allow you to sort items by highest number of occurrences