From cd850bea5fc51eac9c499528f9809fa5e2fccbfc Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Fri, 29 Jun 2018 09:53:07 +0200 Subject: [PATCH] Expose recency as parameter Relates elastic/rally#529 --- geonames/README.md | 1 + geonames/operations/default.json | 3 ++- geopoint/README.md | 1 + geopoint/operations/default.json | 3 ++- pmc/README.md | 1 + pmc/operations/default.json | 3 ++- 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/geonames/README.md b/geonames/README.md index f65dd602..611ff669 100644 --- a/geonames/README.md +++ b/geonames/README.md @@ -39,6 +39,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using * `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests. * `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested. * `conflict_probability` (default: 25): A number between 0 and 100 that defines the probability of id conflicts. This requires to run the respective challenge. +* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Rally docs](http://esrally.readthedocs.io/en/latest/track.html#bulk) for the full definition of this parameter. This requires to run the respective challenge. * `number_of_replicas` (default: 0) * `number_of_shards` (default: 5) * `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index. diff --git a/geonames/operations/default.json b/geonames/operations/default.json index 1f6f5173..3dc92097 100644 --- a/geonames/operations/default.json +++ b/geonames/operations/default.json @@ -10,7 +10,8 @@ "bulk-size": {{bulk_size | default(5000)}}, "ingest-percentage": {{ingest_percentage | default(100)}}, "conflicts": "random", - "conflict-probability": {{conflict_probability | default(25)}} + "conflict-probability": {{conflict_probability | default(25)}}, + "recency": {{recency | default(0)}} }, { "name": "default", diff --git a/geopoint/README.md b/geopoint/README.md index 8cf68a04..f005c1d1 100644 --- a/geopoint/README.md +++ b/geopoint/README.md @@ -21,6 +21,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using * `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests. * `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested. * `conflict_probability` (default: 25): A number between 0 and 100 that defines the probability of id conflicts. This requires to run the respective challenge. +* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Rally docs](http://esrally.readthedocs.io/en/latest/track.html#bulk) for the full definition of this parameter. This requires to run the respective challenge. * `number_of_replicas` (default: 0) * `number_of_shards` (default: 5) * `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index. diff --git a/geopoint/operations/default.json b/geopoint/operations/default.json index 74cb0748..437cca2c 100644 --- a/geopoint/operations/default.json +++ b/geopoint/operations/default.json @@ -10,7 +10,8 @@ "bulk-size": {{bulk_size | default(5000)}}, "ingest-percentage": {{ingest_percentage | default(100)}}, "conflicts": "random", - "conflict-probability": {{conflict_probability | default(25)}} + "conflict-probability": {{conflict_probability | default(25)}}, + "recency": {{recency | default(0)}} }, { "name": "polygon", diff --git a/pmc/README.md b/pmc/README.md index ed709f93..d374feb8 100644 --- a/pmc/README.md +++ b/pmc/README.md @@ -30,6 +30,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using * `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests. * `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested. * `conflict_probability` (default: 25): A number between 0 and 100 that defines the probability of id conflicts. This requires to run the respective challenge. +* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Rally docs](http://esrally.readthedocs.io/en/latest/track.html#bulk) for the full definition of this parameter. This requires to run the respective challenge. * `number_of_replicas` (default: 0) * `number_of_shards` (default: 5) * `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index. diff --git a/pmc/operations/default.json b/pmc/operations/default.json index 628efee2..c1463716 100644 --- a/pmc/operations/default.json +++ b/pmc/operations/default.json @@ -10,7 +10,8 @@ "bulk-size": {{bulk_size | default(500)}}, "ingest-percentage": {{ingest_percentage | default(100)}}, "conflicts": "random", - "conflict-probability": {{conflict_probability | default(25)}} + "conflict-probability": {{conflict_probability | default(25)}}, + "recency": {{recency | default(0)}} }, { "name": "default",