Functions for extracting index metadata

All these new methods have to be doxygen documented, that's a new pull-request rule
Please write about what they do, ahy are they needed, where are they called, which context they require and so on in a fashion like you describe this to people who will support it and write similar things