mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
Merge #4503
4503: Add settings diff indexing benchmarks r=dureuill a=ManyTheFish Add several benchmarks targetting settings diff-indexing enhancements Co-authored-by: ManyTheFish <many@meilisearch.com>
This commit is contained in:
commit
f85c80d059
94
workloads/settings-add-remove-filters.json
Normal file
94
workloads/settings-add-remove-filters.json
Normal file
@ -0,0 +1,94 @@
|
||||
{
|
||||
"name": "settings-add-remove-filters.json",
|
||||
"run_count": 2,
|
||||
"extra_cli_args": [
|
||||
"--max-indexing-threads=4"
|
||||
],
|
||||
"assets": {
|
||||
"150k-people.json": {
|
||||
"local_location": null,
|
||||
"remote_location": "https://milli-benchmarks.fra1.digitaloceanspaces.com/bench/datasets/150k-people.json",
|
||||
"sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"last_name",
|
||||
"first_name",
|
||||
"featured_job_organization_name",
|
||||
"facebook_url",
|
||||
"twitter_url",
|
||||
"linkedin_url"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"city",
|
||||
"region",
|
||||
"country_code"
|
||||
],
|
||||
"dictionary": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
],
|
||||
"stopWords": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "DontWait"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/documents",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"asset": "150k-people.json"
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"filterableAttributes": [
|
||||
"city",
|
||||
"region",
|
||||
"country_code",
|
||||
"featured_job_title",
|
||||
"featured_job_organization_name"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"filterableAttributes": [
|
||||
"city",
|
||||
"region",
|
||||
"country_code"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
}
|
||||
]
|
||||
}
|
86
workloads/settings-proximity-precision.json
Normal file
86
workloads/settings-proximity-precision.json
Normal file
@ -0,0 +1,86 @@
|
||||
{
|
||||
"name": "settings-proximity-precision.json",
|
||||
"run_count": 2,
|
||||
"extra_cli_args": [
|
||||
"--max-indexing-threads=4"
|
||||
],
|
||||
"assets": {
|
||||
"150k-people.json": {
|
||||
"local_location": null,
|
||||
"remote_location": "https://milli-benchmarks.fra1.digitaloceanspaces.com/bench/datasets/150k-people.json",
|
||||
"sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"last_name",
|
||||
"first_name",
|
||||
"featured_job_organization_name",
|
||||
"facebook_url",
|
||||
"twitter_url",
|
||||
"linkedin_url"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"city",
|
||||
"region",
|
||||
"country_code",
|
||||
"featured_job_title",
|
||||
"featured_job_organization_name"
|
||||
],
|
||||
"dictionary": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
],
|
||||
"stopWords": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "DontWait"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/documents",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"asset": "150k-people.json"
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"proximityPrecision": "byAttribute"
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"proximityPrecision": "byWord"
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
}
|
||||
]
|
||||
}
|
114
workloads/settings-remove-add-swap-searchable.json
Normal file
114
workloads/settings-remove-add-swap-searchable.json
Normal file
@ -0,0 +1,114 @@
|
||||
{
|
||||
"name": "settings-remove-add-swap-searchable.json",
|
||||
"run_count": 2,
|
||||
"extra_cli_args": [
|
||||
"--max-indexing-threads=4"
|
||||
],
|
||||
"assets": {
|
||||
"150k-people.json": {
|
||||
"local_location": null,
|
||||
"remote_location": "https://milli-benchmarks.fra1.digitaloceanspaces.com/bench/datasets/150k-people.json",
|
||||
"sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"last_name",
|
||||
"first_name",
|
||||
"featured_job_organization_name",
|
||||
"facebook_url",
|
||||
"twitter_url",
|
||||
"linkedin_url"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"city",
|
||||
"region",
|
||||
"country_code",
|
||||
"featured_job_title",
|
||||
"featured_job_organization_name"
|
||||
],
|
||||
"dictionary": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
],
|
||||
"stopWords": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "DontWait"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/documents",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"asset": "150k-people.json"
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"last_name",
|
||||
"first_name",
|
||||
"featured_job_organization_name"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"last_name",
|
||||
"first_name",
|
||||
"featured_job_organization_name",
|
||||
"facebook_url",
|
||||
"twitter_url",
|
||||
"linkedin_url"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"first_name",
|
||||
"last_name",
|
||||
"featured_job_organization_name",
|
||||
"facebook_url",
|
||||
"twitter_url",
|
||||
"linkedin_url"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
}
|
||||
]
|
||||
}
|
115
workloads/settings-typo.json
Normal file
115
workloads/settings-typo.json
Normal file
@ -0,0 +1,115 @@
|
||||
{
|
||||
"name": "settings-typo.json",
|
||||
"run_count": 2,
|
||||
"extra_cli_args": [
|
||||
"--max-indexing-threads=4"
|
||||
],
|
||||
"assets": {
|
||||
"150k-people.json": {
|
||||
"local_location": null,
|
||||
"remote_location": "https://milli-benchmarks.fra1.digitaloceanspaces.com/bench/datasets/150k-people.json",
|
||||
"sha256": "28c359a0956958af0ba204ec11bad3045a0864a10b4838914fea25a01724f84b"
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"searchableAttributes": [
|
||||
"last_name",
|
||||
"first_name",
|
||||
"featured_job_title",
|
||||
"featured_job_organization_name",
|
||||
"facebook_url",
|
||||
"twitter_url",
|
||||
"linkedin_url"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"city",
|
||||
"region",
|
||||
"country_code",
|
||||
"featured_job_title",
|
||||
"featured_job_organization_name"
|
||||
],
|
||||
"dictionary": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
],
|
||||
"stopWords": [
|
||||
"https://",
|
||||
"http://",
|
||||
"www.",
|
||||
"crunchbase.com",
|
||||
"facebook.com",
|
||||
"twitter.com",
|
||||
"linkedin.com"
|
||||
]
|
||||
}
|
||||
},
|
||||
"synchronous": "DontWait"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/documents",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"asset": "150k-people.json"
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"typoTolerance": {
|
||||
"disableOnAttributes": ["featured_job_organization_name"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"typoTolerance": {
|
||||
"disableOnAttributes": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"typoTolerance": {
|
||||
"disableOnWords": ["Ben","Elowitz","Kevin","Flaherty", "Ron", "Dustin", "Owen", "Chris", "Mark", "Matt", "Peter", "Van", "Head", "of"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
},
|
||||
{
|
||||
"route": "indexes/peoples/settings",
|
||||
"method": "PATCH",
|
||||
"body": {
|
||||
"inline": {
|
||||
"typoTolerance": {
|
||||
"disableOnWords": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"synchronous": "WaitForTask"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user