cuments that would be returned
by that search.</p>
<p>Sometimes, you might need to filter auto suggestions to, say, only a specific
category. You can do so by providing a <code>filter</code> option:</p>
<pre><code class="language-javascript"><span class="hl-0">miniSearch</span><span class="hl-1">.</span><span class="hl-7">autoSuggest</span><span class="hl-1">(</span><span class="hl-4">&#39;zen ar&#39;</span><span class="hl-1">, {</span><br/><span class="hl-1">  </span><span class="hl-7">filter</span><span c