-
Notifications
You must be signed in to change notification settings - Fork 977
Expand file tree
/
Copy pathmeilisearch-docs-scraper.config.json
More file actions
166 lines (148 loc) · 6.21 KB
/
meilisearch-docs-scraper.config.json
File metadata and controls
166 lines (148 loc) · 6.21 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"index_uid": "docs_railway_app_production",
"start_urls": [
{
"url": "https://docs.railway.com/"
}
],
"js_render": false,
"scrape_start_urls": false,
"selectors": {
"lvl0": {
"selector": ".sidebar .current-section",
"global": true,
"default_value": "Railway Documentation"
},
"lvl1": ".docs-content h1",
"lvl2": ".docs-content h2",
"lvl3": ".docs-content h3",
"lvl4": ".docs-content h4",
"text": ".docs-content p, .docs-content li, .docs-content a, .docs-content code, .docs-content td, .docs-content pre"
},
"strip_chars": " .,;:#",
"custom_settings": {
"searchableAttributes": [
"hierarchy_lvl1",
"hierarchy_lvl2",
"hierarchy_lvl3",
"hierarchy_lvl4",
"content",
"hierarchy_lvl0"
],
"displayedAttributes": [
"hierarchy_lvl0",
"hierarchy_lvl1",
"hierarchy_lvl2",
"hierarchy_lvl3",
"hierarchy_lvl4",
"content",
"url",
"anchor",
"type"
],
"rankingRules": [
"words",
"typo",
"proximity",
"attribute",
"sort",
"exactness"
],
"typoTolerance": {
"enabled": true,
"minWordSizeForTypos": {
"oneTypo": 4,
"twoTypos": 8
},
"disableOnWords": [],
"disableOnAttributes": []
},
"stopWords": [
"the", "a", "an", "and", "or", "but", "in", "on", "at", "to", "for",
"of", "with", "by", "from", "as", "is", "was", "are", "were", "been",
"be", "have", "has", "had", "do", "does", "did", "will", "would",
"could", "should", "may", "might", "must", "shall", "can", "need",
"this", "that", "these", "those", "it", "its", "i", "you", "we",
"they", "my", "your", "our", "their", "what", "which", "who", "how"
],
"synonyms": {
"postgres": ["postgresql", "pg"],
"postgresql": ["postgres", "pg"],
"mysql": ["mariadb", "maria"],
"mariadb": ["mysql", "maria"],
"redis": ["cache", "in-memory", "key-value"],
"mongodb": ["mongo"],
"mongo": ["mongodb"],
"preview environment": ["pr environment", "pull request environment", "preview deploy"],
"pr environment": ["preview environment", "pull request environment", "preview deploy"],
"pull request environment": ["preview environment", "pr environment", "preview deploy"],
"staging": ["stage", "test environment", "testing"],
"production": ["prod", "live", "production environment"],
"deploy": ["deployment", "ship", "push", "release"],
"deployment": ["deploy", "release", "rollout"],
"domain": ["custom domain", "hostname", "url", "fqdn"],
"custom domain": ["domain", "hostname", "own domain"],
"ssl": ["tls", "https", "certificate", "cert"],
"tls": ["ssl", "https", "certificate", "cert"],
"https": ["ssl", "tls", "secure"],
"private network": ["internal network", "vpn", "private networking"],
"private networking": ["private network", "internal network", "vpn"],
"public network": ["external network", "public networking", "internet"],
"tcp proxy": ["tcp", "proxy", "port forwarding"],
"static ip": ["fixed ip", "static outbound ip", "dedicated ip"],
"service": ["app", "application", "container", "workload"],
"container": ["docker", "service", "app"],
"dockerfile": ["docker", "container", "containerfile"],
"docker": ["container", "dockerfile", "containerize"],
"railpack": ["buildpack", "builder"],
"build": ["compile", "bundle", "package"],
"environment variable": ["env var", "env", "config", "envvar", "variable"],
"env var": ["environment variable", "envvar", "config", "variable"],
"config": ["configuration", "settings", "setup"],
"secret": ["api key", "credential", "token", "password"],
"cli": ["command line", "terminal", "railway cli", "shell"],
"command line": ["cli", "terminal", "shell"],
"api": ["graphql", "rest", "endpoint", "public api"],
"graphql": ["gql", "api", "query"],
"gql": ["graphql", "api"],
"rest": ["rest api", "http api", "api"],
"logs": ["logging", "log", "output", "console"],
"logging": ["logs", "log", "observability"],
"metrics": ["monitoring", "stats", "statistics", "observability"],
"monitoring": ["metrics", "observability", "tracking"],
"volume": ["persistent storage", "disk", "storage", "mount"],
"storage": ["volume", "disk", "persist", "bucket"],
"bucket": ["s3", "object storage", "blob storage", "storage bucket"],
"s3": ["bucket", "object storage", "storage bucket"],
"scale": ["scaling", "autoscale", "horizontal scaling", "resize"],
"autoscale": ["auto-scale", "automatic scaling", "scale", "horizontal scaling"],
"horizontal scaling": ["scale out", "autoscale", "replicas"],
"vertical scaling": ["scale up", "resize", "upgrade"],
"template": ["starter", "boilerplate", "example", "blueprint"],
"starter": ["template", "boilerplate", "quickstart"],
"team": ["workspace", "organization", "org"],
"workspace": ["team", "organization", "org"],
"member": ["user", "collaborator", "teammate"],
"pricing": ["cost", "price", "billing", "payment"],
"billing": ["pricing", "invoice", "payment", "cost"],
"credits": ["credit", "balance", "payment"],
"trial": ["free trial", "free tier", "starter"],
"error": ["bug", "issue", "problem", "fail", "failure"],
"crash": ["error", "failure", "fail", "down"],
"cron": ["scheduled task", "cron job", "scheduler", "scheduled"],
"cron job": ["cron", "scheduled task", "periodic task", "timer"],
"scheduled": ["cron", "periodic", "recurring", "timed"],
"healthcheck": ["health check", "health", "liveness", "readiness"],
"health check": ["healthcheck", "liveness probe", "readiness probe"],
"next.js": ["nextjs", "next", "vercel"],
"nextjs": ["next.js", "next"],
"react": ["reactjs", "react.js"],
"vue": ["vuejs", "vue.js"],
"express": ["expressjs", "express.js", "node"],
"fastapi": ["fast api", "python api"],
"django": ["python", "python web"],
"rails": ["ruby on rails", "ror", "ruby"],
"laravel": ["php", "php framework"]
}
}
}