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
You can look into examples/chunk-search.rs for the source code, and can run the same with:
176
-
177
-
```shell
178
-
cargo run --example chunk-search
179
-
```
180
-
181
-
This searches for a text over a list of 100 items with a chunk size of 10.
44
+
For how to implement individual searching operations, check the [examples.](/examples/)
182
45
183
46
## Options
184
47
@@ -189,3 +52,5 @@ As given above, Fuse takes the following options
189
52
-`threshold`: 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. Defaults to `0.6`
190
53
-`maxPatternLength`: The maximum valid pattern length. The longer the pattern, the more intensive the search operation will be. If the pattern exceeds the `maxPatternLength`, the `search` operation will return `nil`. Why is this important? [Read this](https://en.wikipedia.org/wiki/Word_(computer_architecture)#Word_size_choice). Defaults to `32`
191
54
-`isCaseSensitive`: Indicates whether comparisons should be case sensitive. Defaults to `false`
0 commit comments