lexicography (n.)
1670s, from lexico- + -graphy. Related: Lexicographic; lexicographical.