summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-27 11:58:58 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-27 11:58:58 +0100
commita5788d71fa7ac1cd6e5ed9a98f95f6ca1bddcbb4 (patch)
tree269e971fd25dd3f3f7e2327950f5bec2ef107957 /README.md
parentb4307e7c094c3a556e267b136e591c146a41f12f (diff)
#80, Add search index configuration
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index b87b1c0..30d4274 100644
--- a/README.md
+++ b/README.md
@@ -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