25 Apr '13, 1pm

Redis partial word match — you (auto)complete me. #redis #ruby

April 25, 2013 hrward redis autocompletion search Redis partial word match — you (auto)complete me We can use partial word matching to rapidly search strings of text such as Names, Cities, States, etc. We can do this by indexing strings into Redis sets based on partial matches of the string. The indexing process takes a string and breaks it into left-bound substrings which are placed into the appropriate Redis sets. Partial word matching movie titles In this example we’ll enable partial word matching queries of movie titles. The movie titles will be stored in plain text. The keys are simple key-value pairs that are stored with the key structure movies:id , where id is incremented: $ redis-cli get movies:1 "Bad Santa" $ redis-cli get movies:2 "Batman" $ redis-cli get movies:3 "Bad Company" The movie Batman would be decomposed into the following sets (assuming that the index...

Full article: http://robots.thoughtbot.com/post/48851498400/redis-parti...

Tweets

The Complete Guide to Reconversion

seomoz.org 26 Apr '13, 7am

It is a good idea to find communities in your industry that are not based on one of the big social media websites. There i...

The Complete Guide to Reconversion

seomoz.org 27 Apr '13, 3pm

It is a good idea to find communities in your industry that are not based on one of the big social media websites. There i...

The Complete Guide to Reconversion

seomoz.org 03 May '13, 10pm

It is a good idea to find communities in your industry that are not based on one of the big social media websites. There i...

The sun is out and we have the perfect vest to ...

pineapple.uk.com 24 Apr '13, 10am

Just to let you know... You're about to be redirected to the Pineapple Eyewear site. We hate goodbyes, so just to be sure ...

Greentech Auto's Electric Sedan: Haven't We Seen...: The electric car it intends to build will be based on JAC...

Greentech Auto's Electric Sedan: Haven't We See...

greencarreports.com 29 Apr '13, 6pm

NEVs are practically worthless in America. In California (the largest market for EVs), most of the streets are 45+ MPH. I ...

The Complete Guide to Reconversion

seomoz.org 04 May '13, 3pm

It is a good idea to find communities in your industry that are not based on one of the big social media websites. There i...