[twitter-dev] Re: Search for terms ignoring punctuation have stopped working properly

2011-01-21 Thread Niv
Hi Taylor,

When using Twitter search, the following query returns statuses with
the words ATT and Verizon, including statuses with ATT.
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 ATT 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 ATT (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:
 - ATT should match ATT - track=at%26t
 - AT and T should match ATT - track=at,t
 - ATT should/will not match ATT - 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 ATT, at t,
  at.t, etc. Currently, searching for ATT Server or att server
  return different results - specifically, searching for att server
  does not return results containing the terms ATT 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


[twitter-dev] Search for terms ignoring punctuation have stopped working properly

2011-01-19 Thread Niv
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 ATT, at t,
at.t, etc. Currently, searching for ATT Server or att server
return different results - specifically, searching for att server
does not return results containing the terms ATT 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