changed visibility on addPropertiesToIndex in ES