-
Notifications
You must be signed in to change notification settings - Fork 26
/
defaults.json
93 lines (71 loc) · 2.41 KB
/
defaults.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"size": 10,
"track_scores": true,
"centroid:field": "center_point",
"categories:field": "category",
"sort:distance:order": "asc",
"sort:distance:distance_type": "plane",
"boundary:circle:radius": "50km",
"boundary:circle:distance_type": "plane",
"boundary:rect:type": "indexed",
"ngram:analyzer": "peliasOneEdgeGram",
"ngram:field": "name.default",
"ngram:boost": 1,
"phrase:analyzer": "peliasPhrase",
"phrase:field": "phrase.default",
"phrase:boost": 1,
"phrase:slop": 2,
"focus:function": "linear",
"focus:offset": "1km",
"focus:scale": "50km",
"focus:decay": 0.5,
"focus:weight": 2,
"function_score:score_mode": "avg",
"function_score:boost_mode": "replace",
"address:housenumber:analyzer": "standard",
"address:housenumber:field": "address.number",
"address:housenumber:boost": 1,
"address:street:analyzer": "standard",
"address:street:field": "address.street",
"address:street:boost": 1,
"address:postcode:analyzer": "standard",
"address:postcode:field": "address.zip",
"address:postcode:boost": 1,
"admin:country_a:analyzer": "standard",
"admin:country_a:field": "parent.country_a",
"admin:country_a:boost": 1,
"admin:country:analyzer": "peliasAdmin",
"admin:country:field": "parent.country",
"admin:country:boost": 1,
"admin:region:analyzer": "peliasAdmin",
"admin:region:field": "parent.region",
"admin:region:boost": 1,
"admin:region_a:analyzer": "peliasAdmin",
"admin:region_a:field": "parent.region_a",
"admin:region_a:boost": 1,
"admin:county:analyzer": "peliasAdmin",
"admin:county:field": "parent.county",
"admin:county:boost": 1,
"admin:localadmin:analyzer": "peliasAdmin",
"admin:localadmin:field": "parent.localadmin",
"admin:localadmin:boost": 1,
"admin:locality:analyzer": "peliasAdmin",
"admin:locality:field": "parent.locality",
"admin:locality:boost": 1,
"admin:neighbourhood:analyzer": "peliasAdmin",
"admin:neighbourhood:field": "parent.neighbourhood",
"admin:neighbourhood:boost": 1,
"popularity:field": "popularity",
"popularity:modifier": "sqrt",
"popularity:max_boost": 999999,
"popularity:weight": 1,
"population:field": "population",
"population:modifier": "sqrt",
"population:max_boost": 999999,
"population:weight": 2,
"localregions:weight": 10,
"localregions:function": "linear",
"localregions:offset": "100km",
"localregions:scale": "500km",
"localregions:decay": 0.5
}