mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 08:11:04 +00:00
Modify existing workload files to use precommands
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
"sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
"precommands": [
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
@ -62,14 +62,18 @@
|
||||
"asset": "150k-people.json"
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"typoTolerance": {
|
||||
"disableOnAttributes": ["featured_job_organization_name"]
|
||||
"disableOnAttributes": [
|
||||
"featured_job_organization_name"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -93,7 +97,22 @@
|
||||
"body": {
|
||||
"inline": {
|
||||
"typoTolerance": {
|
||||
"disableOnWords": ["Ben","Elowitz","Kevin","Flaherty", "Ron", "Dustin", "Owen", "Chris", "Mark", "Matt", "Peter", "Van", "Head", "of"]
|
||||
"disableOnWords": [
|
||||
"Ben",
|
||||
"Elowitz",
|
||||
"Kevin",
|
||||
"Flaherty",
|
||||
"Ron",
|
||||
"Dustin",
|
||||
"Owen",
|
||||
"Chris",
|
||||
"Mark",
|
||||
"Matt",
|
||||
"Peter",
|
||||
"Van",
|
||||
"Head",
|
||||
"of"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user