I've got an entire chapter of my book dedicated to using Redis as a
search engine in a variety of ways. Basically, all of the tips and
tricks that I've learned over the last 2+ years. I'm about half-way
through writing the chapter, which may or may not make it for the
electronic update coming out mid next month.
In the mean-time, I've got an article that implements TF-IDF based
searching on my blog from almost 2 years ago:
http://dr-josiah.blogspot.com/2010/07/building-search-engine-using-redis-and.html
.
As for the OP, you can use Metaphone or double-Metaphone to create a
sort of pre-hash for words to handle misspellings, then come up with
an pre-ordering for terms that makes searches like 'search engine
redis' and 'redis search engine' come up the same (just sorting the
input words would be sufficient in this case). Alternatively, you
could hash each word individually, and add/xor the result. There are a
few options that are easy to do and may give you what you want.
Regards,
- Josiah
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/redis-db/-/WCagYm-Ze7wJ.
>
> To post to this group, send email to
redi...@googlegroups.com.
> To unsubscribe from this group, send email to
>
redis-db+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/redis-db?hl=en.