Secondary index definition and creation.