One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
toak
8 years agoExplorer | Level 3
dropbox api v2 files search returns matches where fname does not match query
using the python sdk
a search with:
dbx.files_search('/Actives', 'f10-13-13.xls')
results in the following matches with meta.path_lower_case:
- u'/actives/zzzzzzz/gh apotheek - f10-13-1185/gh apotheek - f10-13-1185.xls'
- u'/actives/audio techn acq - f10-13-13/audio techn acq - f10-13-13.xlsx'
It is not looking into the content. I was looking for the second, why did he match the first ?
- Greg-DB
Dropbox Staff
Thanks for the report! We'll look into it.- Clifton L.Helpful | Level 5
I'm seeing erratic results with the v2 search API as well.
I have the following filenames in my folder:
DaveLogbook.pilotpro Logbook-Dave.pilotpro Logbook.db Logbook.pilotpro PilotPro.db
This search:
$dropbox->search('/', 'Logbook.pilotpro', []);
...returns the following files:
Logbook.db ------------------ DaveLogbook.pilotpro ------------------ Logbook-Dave.pilotpro
- Greg-DB
Dropbox Staff
Clifton L. Are you still seeing "Logbook.db" returned now when searching "Logbook.pilotpro"?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 9 minutes ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!