-
Notifications
You must be signed in to change notification settings - Fork 12
Provide more than 300 results #26
Comments
One person typing in data.gov would give us a $1000 API bill from Bing. We're always going to need limitations on this, because it can theoretically cost an unlimited amount to run. |
Would caching results and searching for the next 300 datasets over and over be a possibility? If folks want more results, should they just use the Bing or Google UI (does that max out too)? |
No, we're charged for every query. We cap results at 300—Bing doesn't. 600 just costs us twice as much as 300. :) It's a setting in the config file—anybody can download LMGTDFY, set the cap at whatever they like, run it themselves, and pay Bing for that API access. |
Here's Bing's API pricing, incidentally. It's my understanding that a "transaction" provides up to 50 results. We're on the free tier right now, and that'll get us a maximum of 5,000 domains entered a month (assuming that every search returns 0–50 results). It'll get us a minimum of 833 domains a month (assuming that every search returns 300 or more results). How many results we're going to average, it's too soon to say—it hasn't even been 36 hours. But once we have some baseline usage data, it'll be possible to tweak the number of returns. With project funding, I'd make the cap much higher—perhaps 1,000 results? But right now, U.S. Open Data is in no position to make a long-term financial commitment to keep the site operating—it's best to keep it on the free tier. One more point, for the record: I'm just talking about our installation of this software. Anybody's free to install it on their own system, get a Bing API key, and set the cap at as many results as they want! |
Ah thank you for providing that information here! |
So much fun! Also, as an FYI and not an issue (at least from my perspective), I'm getting 600+ results from my state .gov domain searches. |
Huh. That's odd. Looking through the records, I'm not seeing any searches yielding more than 300 results. I wonder if that's resulting from duplicates, per #18? |
That looks like it's probably it - at least for the most part. For On Tue, Feb 24, 2015 at 6:22 PM, Waldo Jaquith [email protected]
Emily Shaw |
Ugh. |
It looks like the maximum return of files for this tool is 300. It would be wonderful to have the return be higher than that so truly all of the data is surfaced through this tool.
If not in browser, as a downloadable file.
The text was updated successfully, but these errors were encountered: