Exact match vs broad match

(David Chavalarias) #1

By default the string match in the API for search is exact. Is there a way to make it broad ? for example having all tweet that containg the substring ‘election’ (election, election2017, etc.)

(Maziyar Panahi) #2

That is why we use Wildcard:

Using ? to replace a single character, and * to replace zero or more characters:

qu?ck bro* 

Won’t election* work?

(David Chavalarias) #3

OK, I will do this this way, thanks. I thought there was an other syntax available. Thanks for the suggestion.

(Maziyar Panahi) #4