attract vs set one’s cap

attract

verb
  • To draw by moral, emotional or sexual influence; to engage or fix, as the mind, attention, etc.; to invite or allure. 

  • To incur. 

  • To pull toward without touching. 

set one’s cap

How often have the words attract and set one’s cap occurred in a corpus of books? (source: Google Ngram Viewer )