(#1549) - WIP - index method for idb