-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.prod.json
50 lines (50 loc) · 1.96 KB
/
config.prod.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
{
"index_name": "renative_docsearch",
"sitemap_urls": ["https://renative.org/sitemap.xml"],
"selectors": {
"lvl0": {
"selector": "header h1, article h1",
"global": true,
"default_value": "Documentation"
},
"lvl1": "article h2",
"lvl2": "article h3",
"lvl3": "article h4",
"lvl4": "article h5, article td:first-child",
"lvl5": "article h6",
"content": "article p, article li, article td:last-child"
},
"strip_chars": " .,;:#",
"custom_settings": {
"searchableAttributes": [
"unordered(hierarchy.lvl0)",
"unordered(hierarchy_radio.lvl0)",
"unordered(hierarchy_camel.lvl0)",
"unordered(hierarchy_radio_camel.lvl0)",
"unordered(hierarchy.lvl1)",
"unordered(hierarchy_radio.lvl1)",
"unordered(hierarchy_camel.lvl1)",
"unordered(hierarchy_radio_camel.lvl1)",
"unordered(hierarchy.lvl2)",
"unordered(hierarchy_radio.lvl2)",
"unordered(hierarchy_camel.lvl2)",
"unordered(hierarchy_radio_camel.lvl2)",
"unordered(hierarchy.lvl3)",
"unordered(hierarchy_radio.lvl3)",
"unordered(hierarchy_camel.lvl3)",
"unordered(hierarchy_radio_camel.lvl3)",
"unordered(hierarchy.lvl4)",
"unordered(hierarchy_radio.lvl4)",
"unordered(hierarchy_camel.lvl4)",
"unordered(hierarchy_radio_camel.lvl4)",
"unordered(hierarchy.lvl5)",
"unordered(hierarchy_radio.lvl5)",
"unordered(hierarchy_camel.lvl5)",
"unordered(hierarchy_radio_camel.lvl5)",
"unordered(content)",
"unordered(anchor)"
],
"attributesToRetrieve": ["hierarchy", "content", "anchor", "url", "url_without_anchor", "type"],
"ranking": ["words", "filters", "typo", "exact", "attribute", "proximity"]
}
}