add inverted index example