How to find word collocations in a document

from blog James' Coffee Blog, | ↗ original
My blog search engine used to treat every word independently in evaluating a query. For example, results for “homebrew website club” were calculated by finding documents that contained all those words. The words did not necessarily have to be in sequence. For many queries, documents that were relevant bubbled up to the top of search results using...