#80, Add search index configuration

This commit is contained in:
Alex Shpak
2019-10-27 11:58:58 +01:00
parent b4307e7c09
commit a5788d71fa
8 changed files with 88 additions and 74 deletions
+5
View File
@@ -163,6 +163,11 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# (Optional, default true) Enables search function with lunr.js,
# Index is built on fly, therefore it might slowdown your website.
BookSearch = true
# (Optional, default none) Search config for flexsearch index.
# Read documentation at https://github.com/nextapps-de/flexsearch#usage. By default 'balance' preset is used.
# This option allows to set specific configs for languages support. Must be valid JavaScript object.
BookSearchConfig = '{ cache: true }'
```
### Page Configuration