Reputation: 9289
I am using Google Drive API from Google App engine for java. I am searching the google docs with search string
Files.List request = service.files().list().setQ("title contains 'Donation'");
It returns only 2 files with title DonationThankYouLetterData and How to Create Awareness on Blood Donation
I failed to understand why it is not returning other files with title like DonationThankYou_Anil Kumar _02-Aug-2013 Donation
All files are created by me so owner is same.
Upvotes: 0
Views: 311
Reputation: 22296
It could be a number of reasons...
To investigate further, you should ...
Also look at this answer Drive API files.list query with 'not' parameter returns empty pages which seems to suggest that "contains" is broken, but that doesn't seem to match your symptoms, based on the file names you used in your question.
Upvotes: 1