<?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: Does search query string match start of file extension? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465981#M23777</link>
    <description>&lt;P&gt;Thanks for the feedback! I'll pass this along to the team.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2020 14:09:26 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-10-30T14:09:26Z</dc:date>
    <item>
      <title>Does search query string match start of file extension?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465576#M23768</link>
      <description>&lt;P&gt;In &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wildcard-search/m-p/432784" target="_blank" rel="noopener"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Wildcard-search/m-p/432784&lt;/A&gt; I found that we can't do a global wildcard search to find files with multiple extensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I think there's a workaround for some cases as it seems that Dropbox matches the query string against the start of the file extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I want to find Word documents with file extensions doc, docx, docm, dot (-&amp;gt; all starting with "do*") this request to &lt;A href="https://api.dropboxapi.com/2/files/search_v2" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/search_v2&lt;/A&gt; seems to work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
  "query": "do",
  "options": {
    "file_extensions": ["doc", "docx", "doxm", "dot"],
    "path": "/path_to_search",
    "filename_only": true
  }
}&lt;/PRE&gt;
&lt;P&gt;Can anyone confirm that this will return the desired results reliably?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 14:19:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465576#M23768</guid>
      <dc:creator>cb16</dc:creator>
      <dc:date>2020-10-29T14:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Does search query string match start of file extension?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465729#M23769</link>
      <description>&lt;P&gt;While this may happen to work, I can't guarantee this will always work, since this isn't officially documented for use like this. I'll pass this along as a feature request for an official way to do this though.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 17:06:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465729#M23769</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-29T17:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Does search query string match start of file extension?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465892#M23772</link>
      <description>&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would in fact be good to have a documentation how matching of the query string happens. This is not very clear:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The string to search for. May match across multiple fields based on the request arguments. Query string may be rewritten to improve relevance of results.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My tests suggest that the start of each token matches where a token means a new word, a title case word or a number. E.g. for "My WordFile123.docx" things like "my", "wo", "fil", "12", and "d" match. But like you say it's not ideal to rely on something that's not guaranteed to work in the future.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 07:34:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465892#M23772</guid>
      <dc:creator>cb16</dc:creator>
      <dc:date>2020-10-30T07:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Does search query string match start of file extension?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465981#M23777</link>
      <description>&lt;P&gt;Thanks for the feedback! I'll pass this along to the team.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 14:09:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Does-search-query-string-match-start-of-file-extension/m-p/465981#M23777</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-10-30T14:09:26Z</dc:date>
    </item>
  </channel>
</rss>

