Build Inverted Index for NIS project