In-memory inverted index