free the memory used to build RootIndex
avoid creating string garbage when searching for external annotations
drop cls navigation element cache on the navigation element change