There is sometimes a peculiar sensibility in the teeth or their sheaths that induces a kind of vibratory pain, in which they colloquially said to be set on edge; and that in two ways, as follows: From jarring noises. From vellicative or acrid substances.
Source: wiktionary