getroot

obtain root of the index