title: Dropbox API - search in files and content
body: <p>I'm trying to build Java app that search for files including a "word" in a content of files inside dropbox folder.</p>
  
  <p>As we can see in Dropbox docs:</p>
  
  <p><a href="https://www.dropbox.com/developers/documentation/http#documentation-files-search" rel="nofollow">https://www.dropbox.com/developers/documentation/http#documentation-files-search</a></p>
  
  <p>we can do that using "filename_and_content".</p>
  
  <p>I suppose that the fragment of Java code allowing to set "filename_and_content" should look like this:</p>
  
  <pre><code>SearchBuilder searchBuilder = client.files.searchBuilder("/duke/duke/Daily_Activity_Reports", "plik");
  
  searchBuilder.mode(Files.SearchMode.filenameAndContent);
  </code></pre>
  
  <p>But how should I use this SearchBuilder in searching?</p>