title: How to set fuse.js options
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const JSON = [
    {
      "name": "01,02"
    },
    {
      "name": "01"
    },
    {
      "name": "05"
    },
    {
      "name": "06,09"
    },
    {
      "name": "04,05"
    },
    {
      "name": "02,03"
    },
    {
      "name": "02,04,05"
    },
    {
      "name": "01,02"
    },
    {
      "name": "01,03"
    }
  ]
  
  
  function foo (str) {
    const options = {
      keys: ['name'],
      threshold: 0,
      location: 0,
      distance: 100,
      minMatchCharLength: str.length
    }
    const _fuse = new Fuse(JSON, options)
    console.log(_fuse.search(str))
  }
  
  foo('03')</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.1/fuse.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am trying to use <code>fuse.js</code> for filtering. I am unsure of how to use the options. If I search with <code>03</code> I am not returning any results. I have tried changing the location and threshold but not completely understanding it. I set the <code>minMatchCharLength</code> to the length of the query string thinking that would prevent a query of <code>01</code> from returning items that only contain a <code>0</code>. Is that correct?</p>