diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2022-09-27 18:06:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 18:06:49 +0200 |
commit | 87be32ca2671173a4287a938932e543410a32c3a (patch) | |
tree | 92d74544fccf5f51873db4f55c04045562990b35 /dendrite-sample.monolith.yaml | |
parent | 6c67552bf9eee18f656d731adf646aa09c5d7c92 (diff) |
Fulltext implementation using Bleve (#2675)
Based on #2480
This actually indexes events based on their event type. They are removed
from the index if we receive a `m.room.redaction` event on the
`OutputRoomEvent` stream.
An admin endpoint is added to reindex all existing events.
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'dendrite-sample.monolith.yaml')
-rw-r--r-- | dendrite-sample.monolith.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dendrite-sample.monolith.yaml b/dendrite-sample.monolith.yaml index f1758f54..3cad17da 100644 --- a/dendrite-sample.monolith.yaml +++ b/dendrite-sample.monolith.yaml @@ -275,10 +275,15 @@ sync_api: # address of the client. This is likely required if Dendrite is running behind # a reverse proxy server. # real_ip_header: X-Real-IP - fulltext: + + # Configuration for the fulltext search + search: enabled: false + # The path where the fulltext index will be created in. index_path: "./fulltextindex" - language: "en" # more possible languages can be found at https://github.com/blevesearch/bleve/tree/master/analysis/lang + # The language most likely to be used on the server - used when indexing, to ensure the returned results match the expectations. + # A full list of possible languages can be found at https://github.com/blevesearch/bleve/tree/master/analysis/lang + language: "en" # Configuration for the User API. user_api: |