scarletyy / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

sort order for youtube video search results does not work as exoected #920

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
'com.google.apis:google-api-services-youtube:v3-rev120-1.19.0'

Java environment (e.g. Java 6, Android 

Describe the problem.
the only order that seems to work as expected is relevant.  viewCount rating or 
date seem to limit results instead of simply sorting the results 

If I search for 'Amtelco' I get 30 results if I use an order or relevant.  If i 
use rating, date or viewCount the search result count is three.  Running the 
same query in the API Explorer seems to work fine. 

How would you expect it to be fixed?
The length of the result list should be the same for all sort orders

Original issue reported on code.google.com by joejazze...@gmail.com on 10 Dec 2014 at 10:54

GoogleCodeExporter commented 9 years ago
Are you seeing a length of 30 for all orderings when running the query in the 
API Explorer? One possible reason is that the server may choose to pagenize 
long responses so you get only a part of the full results for each query.

Can you copy and paste the JSON representations of your request and response 
for our debugging?

Original comment by wonder...@google.com on 29 Dec 2014 at 3:32