"It was like looking for a needle in a hay stack" is an example of a simile. A simile uses "like" or "as" to describe a situation, event, personality. Other examples of similes are:
figure of speech
figure of speech is a kind of a style. the credit of this is point of figure.
baliw
her home was a prison.
example of apostrope in figure of speech?
kambing
Palindrome
simile
It is a simile
Onomatopoeia
Simile
yes, a hyperbole is exaggeration which is in its own form a figure of speech. For example I'm bored to death.