og('Error searching for documents: ' + err);
  } else {
    console.log('Found ' + searchResponse.response.numFound + ' document(s).');
    console.log('First document: ' + JSON.stringify(searchResponse.response.docs[0], null, 2));
  }
});</code></pre><h3>Speech to Text</h3><p>Use the <a href="http://www.ibm.com/watson/developercloud/doc/speech-to-text/">Speech to Text</a> service to recognize the text from a
.wav file.</p>
<pre class="prettyprint source lang-javascript"><code>var watson = require('watson-d