[Developers] Total Count Using Search API
Kendra Kuhl
kendra.kuhl at juggle.com
Wed Sep 17 21:16:08 UTC 2008
Thanks Phil,
That works in the MqlRead API, but doesn't appear to work in the Search API.
At least I didn't see it when I tried this search:
http://www.freebase.com/api/service/search?query=paris%20france&limit=20&ret
urn=count
Kendra
-----Original Message-----
From: developers-bounces at freebase.com
[mailto:developers-bounces at freebase.com] On Behalf Of Phil Gochenour
Sent: Wednesday, September 17, 2008 4:08 PM
To: For discussions about MQL, Freebase API and apps built on Freebase
Subject: Re: [Developers] Total Count Using Search API
Kendra,
there are directives you can use in your query to get the number of results
without getting the results themselves. "return":"count" will give you the
number of results within a query, while "return":"estimate-count" will give
you an estimated number (and it's generally faster).
Phil
----- Original Message -----
From: "Kendra Kuhl" <kendra.kuhl at juggle.com>
To: "For discussions about MQL, Freebase API and apps built on Freebase"
<developers at freebase.com>
Sent: Wednesday, September 17, 2008 1:55:27 PM (GMT-0800)
America/Los_Angeles
Subject: [Developers] Total Count Using Search API
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list