Inverted Indices Implementation