A database approach to information retrieval: The remarkable relationship between language models and region models