Added comparesolr function which makes it possible to test index changes and see what would be changed in updatesolr.