def get_index(self, index_name):
try:<EOL><INDENT>return self.get_indexes()[index_name]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise SyntaxError("<STR_LIT>" % index_name)<EOL><DEDENT>
Get a specific index by name