diff --git a/app.js b/app.js index 1b3533855..c5fc1df20 100644 --- a/app.js +++ b/app.js @@ -18,6 +18,7 @@ var _React = React, var fuse_options = { includeScore: true, threshold: 0.1, + ignoreLocation: true, keys: ['doc', { name: 'name', weight: 2 diff --git a/app.jsx b/app.jsx index 7e6b6359f..2b3e0308d 100644 --- a/app.jsx +++ b/app.jsx @@ -3,6 +3,7 @@ const { useRef, useState, useEffect, useMemo } = React; const fuse_options = { includeScore: true, threshold: 0.1, + ignoreLocation: true, keys: [ 'doc', {