Open GoogleCodeExporter opened 8 years ago
This is the confusing part of the api. "search.json" always retrieves search
results in quality ranked order. What "order=date" does is to re-sort top N
results in reverse chronology order.
When you modified search criterion "type" parameter, the top N result set
changed.
For details, please reference
http://code.google.com/p/otterapi/wiki/Resources#/searchdate
Original comment by catch...@tcui.org
on 21 Dec 2011 at 5:37
Thanks for the reply.
Two things which i want to ask is that :
1. I asked for search.json not searchdate.json
2. What is N, if it is some page size , how come total no. of results change
Original comment by niti...@gmail.com
on 22 Dec 2011 at 4:53
1) search.json?order=date is the same as searchdate.json
2) N is the depth of the quality rank pass, by default it is 100. For example,
for a search that can return 2000 results, when order=date or searchdate.json
is specified, it will compute the top 100 best results then return them in
revers chronology order. It will only return upto 100 results. N can be
controlled by "zoom" parameter, which has been described in 'searchdate'
section.
"order=date" and searchdate.json are for use cases such as "give me recent good
results for 'ipod'". It is NOT the appropriate tool for downloading all tweets
that contain term 'ipod'.
Original comment by catch...@tcui.org
on 22 Dec 2011 at 5:20
Original issue reported on code.google.com by
niti...@gmail.com
on 21 Dec 2011 at 6:09