pan><span class="hl-2">// index term processing</span><br/><span class="hl-1">  </span><span class="hl-0">searchOptions:</span><span class="hl-1"> {</span><br/><span class="hl-1">    </span><span class="hl-7">processTerm</span><span class="hl-0">:</span><span class="hl-1"> (</span><span class="hl-0">term</span><span class="hl-1">) </span><span class="hl-5">=&gt;</span><span class="hl-1"> </span><span class="hl-0">term</span><span class="hl-1">.</span><span class="hl-7">toLowerCase</span><span class="hl-1">(