Rewrite the invertedindex. Add sentiment analysis.