mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-12 21:03:32 -06:00
Revert "Add configuration option search_tokenizer_separator"
This reverts commit 50cdf076b4
.
This commit is contained in:
@@ -53,7 +53,7 @@ function initSearch() {
|
||||
// Success!
|
||||
var data = JSON.parse(request.responseText);
|
||||
|
||||
lunr.tokenizer.separator = {{ site.search_tokenizer_separator }}
|
||||
lunr.tokenizer.separator = /[\s\-/]+/
|
||||
var index = lunr(function () {
|
||||
this.ref('id');
|
||||
this.field('title', { boost: 200 });
|
||||
|
Reference in New Issue
Block a user