forked from algolia/docsearch-configs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalgolia_faq.json
64 lines (64 loc) · 1.57 KB
/
algolia_faq.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
{
"index_name": "algolia_faq",
"start_urls": [
"https://www.algolia.com/doc/faq/"
],
"scrap_start_urls": false,
"stop_urls": [],
"selectors_exclude": [
".btn",
"#parameters-list",
".next-previous-links",
"section .nav-tabs",
"#end-page-feedback"
],
"selectors": {
"lvl0": {
"selector": "//*[contains(@class, 'faq-section-title')]/a[2]",
"type": "xpath"
},
"lvl1": ".faq-section-content h1",
"lvl2": ".faq-section-content h3",
"lvl3": ".faq-section-content h4",
"lvl4": ".faq-section-content h5",
"text": ".faq-section-content p, .faq-section-content li"
},
"min_indexed_level": 1,
"keep_tags": [
"code"
],
"custom_settings": {
"attributeForDistinct": "hierarchy.lvl1",
"ignorePlurals": false,
"attributesToIndex": [
"unordered(hierarchy_camel.lvl1)",
"unordered(hierarchy.lvl1)",
"unordered(hierarchy_camel.lvl2)",
"unordered(hierarchy.lvl2)",
"unordered(hierarchy_camel.lvl3)",
"unordered(hierarchy.lvl3)",
"unordered(hierarchy_camel.lvl4)",
"unordered(hierarchy.lvl4)",
"unordered(hierarchy_camel.lvl5)",
"unordered(hierarchy.lvl5)",
"unordered(hierarchy_camel.lvl0)",
"unordered(hierarchy.lvl0)",
"content"
],
"attributesToRetrieve": [
"hierarchy",
"hierarchy_camel",
"content",
"type",
"anchor",
"url"
],
"customRanking": [
"desc(weight.page_rank)",
"desc(popularity)",
"desc(weight.level)",
"asc(weight.position)"
]
},
"nb_hits": 506
}