howto limit age of results?
Opened this issue · 0 comments
tenken commented
Hi --
I have tried to find a way using the Hash parameters or the URL string directly to supply an age for the results (say show only results posted in the last year).
In the url, this can be done by:
&tbs=qdr:y
where qdr is 1y, 2y, 3w, 4d, 26h ... whatever units you want. I looked at the search API and there are date ranges too, but i couldnt mod the gem source to retrieve any results with parameters I was trying to pass.
I'd use this religiously if i could set a value for qdr when I was searching with this gem ... Any info appreciated. My attempts at a patch didnt succeed.