Inverted index now uses galloping search with cached values.