progress on getting db out of IndexDetails