def get_terms(term_id):
search_body = {<EOL>"<STR_LIT>": {<EOL>"<STR_LIT:bool>": {<EOL>"<STR_LIT>": [<EOL>{"<STR_LIT>": {"<STR_LIT:id>": term_id}},<EOL>{"<STR_LIT>": {"<STR_LIT>": term_id}},<EOL>{"<STR_LIT>": {"<STR_LIT>": term_id}},<EOL>]<EOL>}<EOL>}<EOL>}<EOL>result = es.search(index="<STR_LIT>", body=search_body)<EOL>results = []<EOL>for r in result["<STR_LIT>"]["<STR_LIT>"]:<EOL><INDENT>results.append(r["<STR_LIT>"])<EOL><DEDENT>return results<EOL>
Get term(s) using term_id - given term_id may match multiple term records

    Term ID has to match either the id, alt_ids or obsolete_ids