DOC: show index as a name in query docs