39;-&#39;</span><span class="hl-1">)</span><br/><span class="hl-1">})</span>
</code><button>Copy</button></pre>
<p>Upon search, the same tokenization is used by default, but it is possible to
pass a <code>tokenize</code> search option in case a different search-time tokenization is
necessary:</p>
<pre><code class="language-javascript"><span class="hl-2">// Tokenize splitting by hyphen</span><br/><span class="hl-5">let</span><span class="hl-1"> </span><span class="hl-0">miniSearch</span><span class="hl-1"> =