changed terriermanager

to avoid loading the index multiple times