cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Search not returning all results in v2

Search not returning all results in v2

iamimranc
Explorer | Level 4

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.)

3 Replies 3

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.

 

iamimranc
Explorer | Level 4

Thank you for the quick reply.

Is there any mechanism for us to  know once this feature request is implemeneted.

Greg-DB
Dropbox Staff
I'll be happy to follow up on this thread if/when I have an update on this.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    iamimranc Explorer | Level 4
What do Dropbox user levels mean?