4 ms·
If you really want to write your own search library, Manning and Raghavan's introduction to IR is highly recommended (and freely available) http://www-csli.sta
by anuraggoel 18y ago
If you really want to write your own search library, Manning and Raghavan's introduction to IR is highly recommended (and freely available)
http://www-csli.stanford.edu/~hinrich/information-retrieval-book.html http://www-csli.stanford.edu/~hinrich/information-retrieval-...
If you just want to use a search library that gives you word proximity (and more), it would be a lot less work to look at existing open source implementations. Xapian and Lucene are both quite useful and can be invoked from PHP, among other languages.