mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-03 17:36:29 +00:00 
			
		
		
		
	Modify existing workload files to use precommands
This commit is contained in:
		@@ -54,7 +54,7 @@
 | 
			
		||||
      "sha256": "27e25efd0b68b159b8b21350d9af76938710cb29ce0393fa71b41c4f3c630ffe"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/movies/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -78,8 +78,10 @@
 | 
			
		||||
          ]
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "DontWait"
 | 
			
		||||
    },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/movies/documents",
 | 
			
		||||
      "method": "POST",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
      "sha256": "5b6e4cb660bc20327776e8a33ea197b43d9ec84856710ead1cc87ab24df77de1"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/movies/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -30,8 +30,10 @@
 | 
			
		||||
          ]
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "DontWait"
 | 
			
		||||
    },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/movies/documents",
 | 
			
		||||
      "method": "POST",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
      "sha256": "d215e395e4240f12f03b8f1f68901eac82d9e7ded5b462cbf4a6b8efde76c6c6"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "experimental-features",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -55,7 +55,9 @@
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    },
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/movies/documents",
 | 
			
		||||
      "method": "POST",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
      "sha256": "d215e395e4240f12f03b8f1f68901eac82d9e7ded5b462cbf4a6b8efde76c6c6"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "experimental-features",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -49,7 +49,9 @@
 | 
			
		||||
        "asset": "movies-100.json"
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    },
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/movies/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
      "sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/peoples/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -59,7 +59,9 @@
 | 
			
		||||
        "asset": "150k-people.json"
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    },
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/peoples/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
      "sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/peoples/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -61,7 +61,9 @@
 | 
			
		||||
        "asset": "150k-people.json"
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    },
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/peoples/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
      "sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "commands": [
 | 
			
		||||
  "precommands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/peoples/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
@@ -61,7 +61,9 @@
 | 
			
		||||
        "asset": "150k-people.json"
 | 
			
		||||
      },
 | 
			
		||||
      "synchronous": "WaitForTask"
 | 
			
		||||
    },
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "route": "indexes/peoples/settings",
 | 
			
		||||
      "method": "PATCH",
 | 
			
		||||
 
 | 
			
		||||
@@ -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