From a00fa150cc6b79f4693acd4c97697c8a6edb19f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 9 Jul 2024 23:12:41 +0200 Subject: [PATCH] Update config file --- conf/default.yaml | 89 ++++------------------------------------------- 1 file changed, 7 insertions(+), 82 deletions(-) diff --git a/conf/default.yaml b/conf/default.yaml index 7552404..d7a4a9e 100644 --- a/conf/default.yaml +++ b/conf/default.yaml @@ -48,91 +48,16 @@ instances-index: enabled: false hosts: null -videos-search: - # Allow client to send browser language to boost results score that are in these languages - boost-languages: - enabled: true - - # Add ability to change videos search fields boost and match value - # See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html for more information - # - # If boost == 0, the field will not be part of the search - # - # match_type could be 'default' or 'phrase' - # * default: use default Elastic Search match query, including fuzziness - # * phrase: use Elastic Search phrase match query - search-fields: - uuid: - boost: 100 - match_type: 'default' - short-uuid: - boost: 100 - match_type: 'default' - name: - boost: 5 - match_type: 'default' - description: - boost: 1 - match_type: 'phrase' - tags: - boost: 2 - match_type: 'default' - account-display-name: - boost: 2 - match_type: 'default' - channel-display-name: - boost: 2 - match_type: 'default' - -channels-search: - # Add ability to change channels search fields boost and match value - # See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html for more information - # - # If boost == 0, the field will not be part of the search - # - # match_type could be 'default' or 'phrase' - # * default: use default Elastic Search match query, including fuzziness - # * phrase: use Elastic Search phrase match query - search-fields: - name: - boost: 5 - match_type: 'default' - description: - boost: 1 - match_type: 'phrase' - display-name: - boost: 3 - match_type: 'default' - account-display-name: - boost: 2 - match_type: 'default' - -playlists-search: - # Add ability to change playlists search fields boost and match value - # See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html for more information - # - # If boost == 0, the field will not be part of the search - # - # match_type could be 'default' or 'phrase' - # * default: use default Elastic Search match query, including fuzziness - # * phrase: use Elastic Search phrase match query - search-fields: - uuid: - boost: 100 - match_type: 'default' - short-uuid: - boost: 100 - match_type: 'default' - display-name: - boost: 5 - match_type: 'default' - description: - boost: 1 - match_type: 'phrase' - api: # Blacklist hosts that will not be returned by the search API blacklist: enabled: false # Array of hosts hosts: null + +indexer: + # How many hosts in parallel to index + host_concurrency: 10 + + # How much time to wait before bulk indexing in Meilisearch data + bulk_indexation_interval_ms: 10000