Where does the Twitter Search API looks for the query term apart from the tweet text?


Using the Twitter Rest API, I have noticed that the results returned by the search do not necessarily contain the query term in the text of the tweet, but also in the extended urls, for instance.
My doubt is, apart from extended urls, the search will retrieve tweets that contain the query term in other part of the metadata associated with the tweet? If so, which metadata?