The extension and application of Swet's theory of information retrieval