Improved inverted index