You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

KennelLink's avatar
KennelLink
Explorer | Level 3
4 years ago

search_v2 ignores parenthesis

My app needs to search for folders named like "Last, First (99)" by using a query "(99)" because it doesn't know the leading part - just the number in parenthesis.  Search apparently ignores the parenthesis, so the results include folders that it shouldn't, for instance "Anything (999)"

 

How do I submit a query that includes the parenthesis and limits the results to just those that _really_ match "(99)" ?

 

I swear that version 1 behavior did not used to do this.  Now it appears both search do this.  I used to be able to search for "(99)" and only get results that actually have "(99)" in their name, not all folders with "99".

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the post. Unfortunately, I don't have a good solution to offer here. The API doesn't offer a way to control the parsing of search queries like this, or a way to perform strict/exact matching like you're looking for, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,915 PostsLatest Activity: 3 hours ago
333 Following

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!