Ver a proveniência

Merge pull request #2566 from array-in-a-matrix/search

add full text search for dendrite
pull/2565/head^2
Slavi Pantaleev há 3 anos
committed by GitHub
ascendente
cometimento
c747891cfe
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
2 ficheiros alterados com 4 adições e 1 eliminações
  1. +3
    -0
      roles/custom/matrix-dendrite/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-dendrite/templates/dendrite/dendrite.yaml.j2

+ 3
- 0
roles/custom/matrix-dendrite/defaults/main.yml Ver ficheiro

@@ -211,3 +211,6 @@ matrix_dendrite_userapi_auto_join_rooms: []
# statistics reporting configuration. These statistics contain the server # statistics reporting configuration. These statistics contain the server
# name, number of active users and some information on your deployment config. # name, number of active users and some information on your deployment config.
matrix_dendrite_report_stats: false matrix_dendrite_report_stats: false

# Configuration for the full-text search engine.
matrix_dendrite_syncapi_search_enabled: false

+ 1
- 1
roles/custom/matrix-dendrite/templates/dendrite/dendrite.yaml.j2 Ver ficheiro

@@ -355,7 +355,7 @@ sync_api:
# Configuration for the full-text search engine. # Configuration for the full-text search engine.
search: search:
# Whether or not search is enabled. # Whether or not search is enabled.
enabled: false
enabled: {{ matrix_dendrite_syncapi_search_enabled|to_json }}
# The path where the search index will be created in. # The path where the search index will be created in.
index_path: "/matrix-media-store-parent/searchindex" index_path: "/matrix-media-store-parent/searchindex"
# The language most likely to be used on the server - used when indexing, to # The language most likely to be used on the server - used when indexing, to


Carregando…
Cancelar
Guardar