One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
iamimranc
8 years agoExplorer | Level 4
Search not returning all results in v2
In version v2 , only prefix based search is working. I have a file DISADVANTAGE.JPEG in my account. In version V1, on searching substring "dis" or "adv" , Search result contained this file.
However in version V2, searching the substring "adv" doesnt show this file . ( searching substring "dis" , displays this file.)
- Greg-DB
Dropbox Staff
This is the expected behavior, per the API v2 /search documentation:
"query String The string to search for. The search string is split on spaces into multiple tokens. For file name searching, the last token is used for prefix matching (i.e. "bat c" matches "bat cave" but not "batman car")."
Since you're only supplying one token, that is the last token, which is used for prefix matching. We'll consider this a feature request for a way to do this the old way instead.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days 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!