-
Notifications
You must be signed in to change notification settings - Fork 8
/
elasticsearch.yml
37 lines (35 loc) · 1.13 KB
/
elasticsearch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
production: &default
base_uri: <%= ENV["ELASTICSEARCH_URI"] || 'http://localhost:9200' %>
content_index_names: ["detailed", "government"]
govuk_index_name: "govuk"
auxiliary_index_names: ["page-traffic", "metasearch"]
registry_index: "government"
metasearch_index_name: "metasearch"
page_traffic_index_name: "page-traffic"
popularity_rank_offset: 10
# When doing spell checking, which indices to use?
spelling_index_names:
- government
clusters:
- uri_key: base_uri
key: A
schema_config_file: elasticsearch_schema.yml
default: true
development:
<<: *default
test:
base_uri: <%= ENV.fetch('ELASTICSEARCH_URI', 'http://localhost:9200') %>
content_index_names: ["government_test"]
govuk_index_name: "govuk_test"
auxiliary_index_names: ["page-traffic_test", "metasearch_test"]
registry_index: "government_test"
metasearch_index_name: "metasearch_test"
page_traffic_index_name: "page-traffic_test"
popularity_rank_offset: 10
spelling_index_names:
- government_test
clusters:
- uri_key: base_uri
key: A
schema_config_file: elasticsearch_schema.yml
default: true