Commit 3fe67c3b authored by Yuheng Huang's avatar Yuheng Huang Committed by Josip Sokcevic

Fuzzy search set ignoreLocation

Fuzzy search should not take match location into account

Bug: 1099917
Change-Id: Ie7ca087b1b0d0375cfdeb008257a7184ac64b904
Reviewed-on: https://chrome-internal-review.googlesource.com/c/chrome/browser/resources/tab_search/+/3278048Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819604}
parent 5bddadcd
...@@ -6,6 +6,7 @@ import Fuse from './fuse.js'; ...@@ -6,6 +6,7 @@ import Fuse from './fuse.js';
const OPTIONS = { const OPTIONS = {
includeScore: true, includeScore: true,
ignoreLocation: true,
keys: [ keys: [
{ {
name: 'title', name: 'title',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment