I'm getting "query is too complex" errors (see example below) & will
begin limiting the complexity of my formulated query.

Are there known/published limits to the number of "q=" terms the
search API will support?

In my experience so far, it seems 10 terms is the limit. Anyone know
more specifically about the "q=" complexity limits?

Any feedback is appreciated!
*Mars


curl session:
* About to connect() to search.twitter.com port 80 (#0)
*   Trying 128.121.243.235... connected
* Connected to search.twitter.com (128.121.243.235) port 80 (#0)
> GET 
> /search.atom?q=%22Bose%22+-%22Einstein%22+-%22condensate%22+-%22Mihir%22+-%22Miguel%22+-%22Chandra%22+-%22Mallika%22+-%22cricket%22+-%22brigadier%22+-%22Hubbard%22+-%22lucia%22+-%22Biman%22+-%22Rahul%22&page=1&rpp=11
>  HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 
> OpenSSL/0.9.8l zlib/1.2.3
> Host: search.twitter.com
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Date: Tue, 31 Aug 2010 19:30:11 GMT
< Server: hi
< Status: 403 Forbidden
< X-Served-From: sjc1c010
< Content-Type: application/xml; charset=utf-8
< X-Served-By: sjc1i029.twitter.com
< Cache-Control: max-age=15, must-revalidate, max-age=1800
< Expires: Tue, 31 Aug 2010 20:00:11 GMT
< Vary: Accept-Encoding
< Content-Length: 145
< X-Varnish: 694464630
< Age: 0
< Via: 1.1 varnish
< X-Cache-Svr: sjc1i029.twitter.com
< X-Cache: MISS
< Connection: close
<
<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <error>Sorry, your query is too complex. Please reduce complexity
and try again.</error>
</hash>
* Closing connection #0

-- 
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?hl=en

Reply via email to