forked from algolia/docsearch-configs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalgolia_api_client.json
99 lines (99 loc) · 2.65 KB
/
algolia_api_client.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
94
95
96
97
98
99
{
"index_name": "algolia_api_client",
"start_urls": [
"https://www.algolia.com/doc/api-client/.*?/getting-started/",
"https://www.algolia.com/doc/api-client/php/",
"https://www.algolia.com/doc/api-client/rails/",
"https://www.algolia.com/doc/api-client/django/",
"https://www.algolia.com/doc/api-client/laravel/",
{
"url": "https://www.algolia.com/doc/api-reference/api-methods/.+",
"selectors_key": "method",
"tags": [
"method"
]
},
{
"url": "https://www.algolia.com/doc/api-client/[^/]+/$",
"selectors_key": "empty"
}
],
"selectors_exclude": [
".btn",
".parameters-list p, .parameters-list li, .parameters-list h3, .parameters-list h4, .parameters-list h5",
".next-previous-links",
"section .nav-tabs",
".docsearch-ignore",
".edit-link",
"#end-page-feedback"
],
"selectors": {
"default": {
"lvl0": ".content-inner h1",
"lvl1": ".content-inner h2",
"lvl2": ".content-inner h3",
"lvl3": ".content-inner h4",
"lvl4": ".content-inner h5",
"text": ".content-inner p, .content-inner li"
},
"method": {
"lvl0": ".api-method-category",
"lvl1": ".content-inner h1",
"lvl2": ".rest-table-method .language-specific-content.php",
"lvl3": ".content-inner h2",
"lvl4": ".content-inner h3",
"lvl5": ".content-inner h4",
"lvl6": ".content-inner h5",
"text": ".content-inner p, .content-inner li"
},
"empty": {
"lvl0": ".non-existing-selector",
"text": ".non-existing-selector"
}
},
"min_indexed_level": 1,
"keep_tags": [
"code"
],
"custom_settings": {
"attributeForDistinct": "hierarchy.lvl1",
"ignorePlurals": false,
"attributesToIndex": [
"unordered(hierarchy_camel.lvl0)",
"unordered(hierarchy.lvl0)",
"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)",
"content"
],
"attributesToRetrieve": [
"hierarchy",
"hierarchy_camel",
"content",
"anchor",
"url",
"type",
"languages",
"language"
],
"attributesForFaceting": [
"language",
"tags",
"no_variables"
],
"customRanking": [
"desc(weight.page_rank)",
"asc(order-section)",
"desc(weight.level)",
"asc(weight.position)"
]
},
"nb_hits": 1301
}