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
/** Indicates whether comparisons should be case sensitive. */
245
246
isCaseSensitive?: boolean
247
+
/** Determines how close the match must be to the fuzzy location (specified by `location`). An exact letter match which is `distance` characters away from the fuzzy location would score as a complete mismatch. A `distance` of `0` requires the match be at the exact `location` specified. A distance of `1000` would require a perfect match to be within `800` characters of the `location` to be found using a `threshold` of `0.8`. */
246
248
distance?: number
249
+
/** When true, the matching function will continue to the end of a search pattern even if a perfect match has already been located in the string. */
247
250
findAllMatches?: boolean
251
+
/** The function to use to retrieve an object's value at the provided path. The default will also search nested paths. */
248
252
getFn?: FuseGetFunction<T>
253
+
/** When `true`, search will ignore `location` and `distance`, so it won't matter where in the string the pattern appears. */
249
254
ignoreLocation?: boolean
255
+
/** When `true`, the calculation for the relevance score (used for sorting) will ignore the `field-length norm`. */
250
256
ignoreFieldNorm?: boolean
257
+
/** Determines how much the `field-length norm` affects scoring. A value of `0` is equivalent to ignoring the field-length norm. A value of `0.5` will greatly reduce the effect of field-length norm, while a value of `2.0` will greatly increase it. */
258
+
fieldNormWeight: number
259
+
/** Whether the matches should be included in the result set. When `true`, each record in the result set will include the indices of the matched characters. These can consequently be used for highlighting purposes. */
251
260
includeMatches?: boolean
261
+
/** Whether the score should be included in the result set. A score of `0`indicates a perfect match, while a score of `1` indicates a complete mismatch. */
252
262
includeScore?: boolean
263
+
/** List of keys that will be searched. This supports nested paths, weighted search, searching in arrays of `strings` and `objects`. */
253
264
keys?: Array<FuseOptionKey>
265
+
/** Determines approximately where in the text is the pattern expected to be found. */
254
266
location?: number
267
+
/** Only the matches whose length exceeds this value will be returned. (For instance, if you want to ignore single character matches in the result, set it to `2`). */
255
268
minMatchCharLength?: number
269
+
/** Whether to sort the result list, by score. */
256
270
shouldSort?: boolean
271
+
/** The function to use to sort all the results. The default will sort by ascending relevance score, ascending index. */
257
272
sortFn?: FuseSortFunction
273
+
/** At what point does the match algorithm give up. A threshold of `0.0` requires a perfect match (of both letters and location), a threshold of `1.0` would match anything. */
258
274
threshold?: number
275
+
/** When `true`, it enables the use of unix-like search commands. See [example](/examples.html#extended-search). */
0 commit comments