0

Knowing Total of Returned Results?

Is there a parameter in YQL which lists the amount of returned results or better yet results found? kinda like "totalhits" in the BOSS API
CODE
<resultset_web count="10" start="0" totalhits="29440998" deephits="881000000">


Thanks in Advance!

by
1 Reply
  • QUOTE (diego@... @ Feb 23 2009, 01:57 PM) <{POST_SNAPBACK}>
    Is there a parameter in YQL which lists the amount of returned results or better yet results found? kinda like "totalhits" in the BOSS API
    CODE
    <resultset_web count="10" start="0" totalhits="29440998" deephits="881000000">


    Thanks in Advance!


    This is not currently supported. Unlike BOSS which works from a single index/database, one of the reasons its very difficult to come up with a number is because YQL combines remote filtering with local filtering. Sometimes remote services provide a number of results, sometimes they dont. This number of potential results is further made difficult to determine because the "local" parts of the WHERE clause will change that number.

    However, YQL, by default, returns ALL available results from your query. If you'd like to page through results you can use OFFSET and LIMIT.

    Jonathan
    0

Recent Posts

in YQL