gaffe vs indiscretion

gaffe

noun
  • A foolish and embarrassing error, especially one made in public. 

indiscretion

noun
  • An indiscreet or imprudent act; indiscreet behavior. 

  • The quality or state of being indiscreet; lack of discretion 

  • A brief sexual liaison. 

How often have the words gaffe and indiscretion occurred in a corpus of books? (source: Google Ngram Viewer )