<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python files_search return empty? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183632#M7650</link>
    <description>&lt;P&gt;Thanks for following up on this Nathan. The lag is usually relatively short, but it can vary, and&amp;nbsp;can be on the scale of minutes.&lt;/P&gt;
&lt;P&gt;Anyway, the search and list_folder operations do operate using entirely different mechanisms. So, in general, if you can use list_folder in any particular scenario, that would be the better choice.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 23:59:07 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-08-17T23:59:07Z</dc:date>
    <item>
      <title>Python files_search return empty?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183629#M7647</link>
      <description>&lt;P&gt;Not sure what's happening but I'm working on a little python tool to look up a file by name in a given dropbox. I can do a files_list_folder fine and see the results:&lt;/P&gt;
&lt;P&gt;dbx.files_list_folder('')&lt;BR /&gt;ListFolderResult(entries=[FolderMetadata(name='Team Files', id='id:mkPLvUa8vRAAAAAAAAAAAg', path_lower='/team files', path_display='/Team Files', parent_shared_folder_id=None, shared_folder_id='1287208110', sharing_info=FolderSharingInfo(read_only=False, parent_shared_folder_id=None, shared_folder_id='1287208110'), property_groups=None), FolderMetadata(name='public', id='id:mkPLvUa8vRAAAAAAAAAAIw', path_lower='/public', path_display='/public', parent_shared_folder_id=None, shared_folder_id=None, sharing_info=None, property_groups=None), FolderMetadata(name='test', id='id:mkPLvUa8vRAAAAAAAAAAJA', path_lower='/test', path_display='/test', parent_shared_folder_id=None, shared_folder_id=None, sharing_info=None, property_groups=None), FileMetadata(name='nate.png', id='id:mkPLvUa8vRAAAAAAAAAAPA', client_modified=datetime.datetime(2016, 8, 1, 18, 40, 11), server_modified=datetime.datetime(2016, 8, 16, 21, 41, 58), rev='454cb918c3', size=38806, path_lower='/nate.png', path_display='/nate.png', parent_shared_folder_id=None, media_info=None, sharing_info=None, property_groups=None, has_explicit_shared_members=None)], cursor='AAGJecrngGsg6I7pFXXhuxK2RNpTIdXSzLw-3YRrttJjeC9sFWjQ6zZ8Zqjz5bbpXe4VXAQpwbF9f8x01b5xP1c6Gj_TtaGd1yqyOodee35FlVdcTASSOXdBODxFJyV2r3EcHK4wwV6lo1vZkq7YLA68', has_more=False)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But doing a search returns empty. Am I messing up the query or doing something wrong?&lt;BR /&gt;dbx.files_search('', '.png')&lt;BR /&gt;SearchResult(matches=[], more=False, start=0)&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:30:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183629#M7647</guid>
      <dc:creator>Nathan P.9</dc:creator>
      <dc:date>2019-05-29T09:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python files_search return empty?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183630#M7648</link>
      <description>&lt;P&gt;There can be some lag on search results (as opposed to the list_folder result). Are you still seeing this now that some time has gone by?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 05:31:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183630#M7648</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-08-17T05:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python files_search return empty?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183631#M7649</link>
      <description>&lt;P&gt;I tried again this morning and I am finally seeing some results. Is there any metric on the standard lag for search results?&lt;/P&gt;
&lt;P&gt;I had loaded files then waited about 30 minutes without any search results coming back but list files worked fine. This also kind of begs the question... why the difference in behavior between list and search? Aren't they roughly equivalent styles of operations?&lt;/P&gt;
&lt;P&gt;files_search(", "Foo") seems like it should be the same as if I did&lt;/P&gt;
&lt;P&gt;files_list_folder(") filtered with "Foo" in metadata.name&lt;/P&gt;
&lt;P&gt;Although that may be dependent on your backend infrastructure but from an API standpoint they both look like hierarchy walkers but react/operate very differently.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:31:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183631#M7649</guid>
      <dc:creator>Nathan P.9</dc:creator>
      <dc:date>2016-08-17T21:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python files_search return empty?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183632#M7650</link>
      <description>&lt;P&gt;Thanks for following up on this Nathan. The lag is usually relatively short, but it can vary, and&amp;nbsp;can be on the scale of minutes.&lt;/P&gt;
&lt;P&gt;Anyway, the search and list_folder operations do operate using entirely different mechanisms. So, in general, if you can use list_folder in any particular scenario, that would be the better choice.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 23:59:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183632#M7650</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-08-17T23:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python files_search return empty?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183633#M7651</link>
      <description>&lt;P&gt;Thanks Gregory; I was just a bit surprised by this delay especially comparing it to the sync operation when looking at files/folders uploaded in the Dropbox App on multiple Windows system. Both systems showed the files as synced but search was still returning empty which is what started my concern that I had hit a possible bug &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;My tool is trying to walk through a heirarchy to find a particular file by name (I wish I could do by MD5 or SHA1 as well but that doesn't seem to be supported) and I would hate to have to walk through the user's entire dropbox to find a particular file (or multiple instances of that file) as that seems extremely expensive. I will simply note that there may be a delay so users are aware.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 00:15:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-files-search-return-empty/m-p/183633#M7651</guid>
      <dc:creator>Nathan P.9</dc:creator>
      <dc:date>2016-08-18T00:15:42Z</dc:date>
    </item>
  </channel>
</rss>

