0

Limit on number of sites in sites= operator?

Hi all,

I was playing with the yql interface for search.web. Crafty!
I tried searching for a term inside a list of specified sites, using the sites="a.com, b.com" parameter.
what I'm actually doing is sending the list of sites in a post (not a get!)
It all seems to work wonderfully for a list of up to 30 sites,
but when I use with 30 or more sites, it just started returning 414 - uri too large.
is there any way around this (other than chunking on the client side)?

thanks!

<diagnostics>
<publiclyCallable>true</publiclyCallable>
<url execution-time="299" http-status-code="414"
http-status-message="Request-URI Too Large">
.... long url.....
</url>
<user-time>304</user-time>
<service-time>299</service-time>
<build-version>1678</build-version>
</diagnostics>
<results />
<!-- total: 307 -->
<!-- yqlengine3.pipes.ch1.yahoo.com uncompressed/chunked Wed Jun 3 17:42:25 GMT 2009 -->

by
2 Replies
  • Can anyone shed any light on the issue?
    I guess it would be helpful to know if there is a limitation on the size of the query length even during post?!
    if so what's the official limit?

    thanks,

    Assaf

    QUOTE (assafpinhasi @ Jun 3 2009, 09:46 AM) <{POST_SNAPBACK}>
    Hi all,

    I was playing with the yql interface for search.web. Crafty!
    I tried searching for a term inside a list of specified sites, using the sites="a.com, b.com" parameter.
    what I'm actually doing is sending the list of sites in a post (not a get!)
    It all seems to work wonderfully for a list of up to 30 sites,
    but when I use with 30 or more sites, it just started returning 414 - uri too large.
    is there any way around this (other than chunking on the client side)?

    thanks!

    <diagnostics>
    <publiclyCallable>true</publiclyCallable>
    <url execution-time="299" http-status-code="414"
    http-status-message="Request-URI Too Large">
    .... long url.....
    </url>
    <user-time>304</user-time>
    <service-time>299</service-time>
    <build-version>1678</build-version>
    </diagnostics>
    <results />
    <!-- total: 307 -->
    <!-- yqlengine3.pipes.ch1.yahoo.com uncompressed/chunked Wed Jun 3 17:42:25 GMT 2009 -->
    0
  • YQL is doing a get request to BOSS. You'll need to create a custom BOSS table and do a post in the execute section.

    QUOTE (assapin @ Jun 11 2009, 09:12 AM) <{POST_SNAPBACK}>
    Can anyone shed any light on the issue?
    I guess it would be helpful to know if there is a limitation on the size of the query length even during post?!
    if so what's the official limit?

    thanks,

    Assaf
    0

Recent Posts

in YQL