From b4982d87f41d9a4d3f6237bacfd819145723e35b Mon Sep 17 00:00:00 2001 From: alexbiehl Date: Mon, 30 Oct 2017 19:10:11 +0100 Subject: Decrease threshold for fuzzy matching --- haddock-api/resources/html/js-src/quick-jump.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haddock-api/resources/html/js-src') diff --git a/haddock-api/resources/html/js-src/quick-jump.tsx b/haddock-api/resources/html/js-src/quick-jump.tsx index b15ac4e8..97ac14af 100644 --- a/haddock-api/resources/html/js-src/quick-jump.tsx +++ b/haddock-api/resources/html/js-src/quick-jump.tsx @@ -103,7 +103,7 @@ class QuickJump extends Component { loadJSON(this.props.baseUrl + "/doc-index.json", (data) => { this.setState({ fuse: new Fuse(data, { - threshold: 0.4, + threshold: 0.25, caseSensitive: true, includeScore: true, tokenize: true, -- cgit v1.2.3