You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,15 +65,15 @@ see: [Fuse.js](http://fusejs.io/) for demo
65
65
| searchPrimaryKey | Also search the primary key |false|
66
66
| location | Approximately where in the text is the pattern expected to be found |0|
67
67
| distance | Determines how close the match must be to the fuzzy location |100|
68
-
| threshold |**0.0** requires a perfect match, and a threshold of**1.0** would match anything |0.6|
68
+
| threshold |**0.0** requires a perfect match, and a threshold of**1.0** would match anything |0.3|
69
69
| maxPatternLength | Machine word size |32|
70
70
| caseSensitive | Indicates whether comparisons should be case sensitive |false|
71
71
| tokenSeparator | Regex used to separate words when searching. Only applicable when **tokenize** is **true**|/+/g |
72
72
| findAllMatches | When true, the algorithm continues searching to even if a perfect match is found |false|
73
73
| minMatchCharLength | Minimum number of characters that must be matched before a result is considered a match |1|
74
74
| keys | An array offields (columns) to be included in the search |Model.$fields() |
75
75
| shouldSort | Whether to sort the result list, by score |false|
76
-
| tokenize | When true, the search algorithm will search individual words **and** the full string, computing the final score as a function of both. **Note**: that when _tokenize_ is _true_, the **threshold**, **distance**, and **location** are inconsequential for individual tokens | true |
76
+
| tokenize | When true, the search algorithm will search individual words **and** the full string, computing the final score as a function of both. **Note**: that when _tokenize_ is _true_, the **threshold**, **distance**, and **location** are inconsequential for individual tokens | false |
77
77
| matchAllTokens | When true, the result set will only include records that match all tokens. Will only work if **tokenize** is also true. **Note**: It is better to use multiple **.search()** query chains if you have multiple terms that need to match. | false |
78
78
| verbose | Will print to the console. Useful for debugging. | false |
0 commit comments