Inverted index for basic search