mirror of
https://github.com/YunoHost-Apps/peertube-search-index_ynh.git
synced 2024-09-03 19:56:30 +02:00
Update config file
This commit is contained in:
parent
39226b8382
commit
a00fa150cc
1 changed files with 7 additions and 82 deletions
|
@ -48,91 +48,16 @@ instances-index:
|
||||||
enabled: false
|
enabled: false
|
||||||
hosts: null
|
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:
|
api:
|
||||||
# Blacklist hosts that will not be returned by the search API
|
# Blacklist hosts that will not be returned by the search API
|
||||||
blacklist:
|
blacklist:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Array of hosts
|
# Array of hosts
|
||||||
hosts: null
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue