  }</span><br/><span class="hl-1">})</span>
</code><button>Copy</button></pre>
<p>The default field extractor can be obtained by calling
<code>MiniSearch.getDefault(&#39;extractField&#39;)</code>.</p>
<a id="md:tokenization" class="tsd-anchor"></a><h3><a href="#md:tokenization">Tokenization</a></h3><p>By default, documents are tokenized by splitting on Unicode space or punctuation
characters. The tokenization logic can be easily changed by passing a custom
tokenizer function as the <code>tokenize</code> opt