Inverted index based search engine