There is nor really any technical difficulty to building such an index, only that 15 years or so of experience has shown that it is an ineffective way to search a large heterogeneous set of documents.
While the earliest yahoo attempts at indexing may have been built that way, it was not long before academic research and actual practice moved away from that approach.