Search API Hashtag Pattern Matching



Hi all,

Is there a way to query with pattern matching on hashtags with the Search API? E.g. search for tweets with hashtags that start with “#awesome”? I don’t see anything about it in the docs, and I am pretty sure this is not possible, but I wanted to confirm that.



As far as i know, search api won’t do substring matching. One way around this would be to build up a vocabulary of #AwesomeSomething, #AwesomeSomethingelse, #AwesomeEtc. and query for those.

Or listen to the public sample stream and do your own matching for #awesome[^\s]+ to discover new hashtags you might have missed (but this is more of an opportunistic thing since sample stream is only 1% for all tweets)