Hi Taylor, When using Twitter search, the following query returns statuses with the words "ATT" and "Verizon", including statuses with "AT&T". http://search.twitter.com/search?q=&ands=att+verizon
This is the expected behavior as understood from the documentation - exact-matched ignoring punctuation. Doesn't that mean punctuations are removed from the terms and then exact-matched, meaning "AT&T" would become "ATT" and then matched, or are you replacing punctuation with a whitespace, so it becomes "AT T"? Anyway, this is not the case with the Streaming API - tracking "att" does not return statuses with "AT&T" (wheres twitter search does). Using track for at,t will return all statuses with "at" or "t" in them, not as intended. Thanks, Niv On Jan 20, 7:49 pm, Taylor Singletary <taylorsinglet...@twitter.com> wrote: > Hi Niv, > > I don't believe this behavior has changed recently. > > With the Search and Streaming APIs, the following should be true: > - "AT&T" should match "AT&T" - track=at%26t > - "AT" and "T" should match "AT&T" - track=at,t > - "ATT" should/will not match "AT&T" - track=att > > Were you seeing different behavior than this recently? > > Taylor > > > > > > > > On Wed, Jan 19, 2011 at 5:01 PM, Niv <n...@tra.cx> wrote: > > Hello. > > > Until recently, searching using the Search API and the Streaming track > > filter matched terms ignoring punctuation. > > > Searching for "att" used to match statuses containing "AT&T", "at t", > > "at.t", etc. Currently, searching for "AT&T Server" or "att server" > > return different results - specifically, searching for "att server" > > does not return results containing the terms "AT&T server". > > > From the Streaming API documentation: > > > Terms are exact-matched, and also exact-matched ignoring punctuation. ... > > Keywords containing punctuation will only exact match tokens and, other than > > keywords prefixed by # and @, will tend to never match. > > > Thanks, > > > −−−−−−−−−−−−−−−−−−− > > Niv Singer, CTO ≈ > > Tracx »http://tra.cx > > Twitter » @nivs > > ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ > > > -- > > Twitter developer documentation and resources:http://dev.twitter.com/doc > > API updates via Twitter:http://twitter.com/twitterapi > > Issues/Enhancements Tracker: > >http://code.google.com/p/twitter-api/issues/list > > Change your membership to this group: > >http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk