Functions for extracting index metadata

Why is this needed?