diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-29 16:16:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-10 14:02:41 +0200 |
commit | 5fb2e2888ce032c638e4b75d07458642f0833e52 (patch) | |
tree | 8830d873569316889b8134027e9a43b198cca38f /config/test.yaml | |
parent | 62e7be634bc189f942ae51cb4b080079ab503ff0 (diff) | |
download | PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.gz PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.zst PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.zip |
First implem global search
Diffstat (limited to 'config/test.yaml')
-rw-r--r-- | config/test.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config/test.yaml b/config/test.yaml index 74979f3a7..da34ccd03 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -98,3 +98,25 @@ instance: | |||
98 | plugins: | 98 | plugins: |
99 | index: | 99 | index: |
100 | check_latest_versions_interval: '10 minutes' | 100 | check_latest_versions_interval: '10 minutes' |
101 | |||
102 | search: | ||
103 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | ||
104 | # If enabled, the associated group will be able to "escape" from the instance follows | ||
105 | # That means they will be able to follow channels, watch videos, list videos of non followed instances | ||
106 | remote_uri: | ||
107 | users: true | ||
108 | anonymous: false | ||
109 | |||
110 | # Use a third party index instead of your local index, only for search results | ||
111 | # Useful to discover content outside of your instance | ||
112 | search_index: | ||
113 | enabled: true | ||
114 | # URL of the search index, that should use the same search API and routes | ||
115 | # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html | ||
116 | # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, | ||
117 | # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index | ||
118 | url: 'http://localhost:3234' | ||
119 | # You can disable local search, so users only use the search index | ||
120 | disable_local_search: false | ||
121 | # If you did not disable local search, you can decide to use the search index by default | ||
122 | is_default_search: true | ||