Skip to content

Commit

Permalink
Introduce track parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Nov 17, 2017
1 parent 1e08612 commit 309f53e
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 12 deletions.
6 changes: 6 additions & 0 deletions geonames/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Modifications:
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`

### License

We use the same license for the data as the original data from Geonames:
Expand Down
4 changes: 2 additions & 2 deletions geonames/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 5000
"bulk-size": {{bulk_size | default(5000)}}
},
{
"name": "index-update",
"operation-type": "index",
"bulk-size": 5000,
"bulk-size": {{bulk_size | default(5000)}},
"conflicts": "random"
},
{
Expand Down
6 changes: 6 additions & 0 deletions geopoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ This track is based on [PlanetOSM](http://wiki.openstreetmap.org/wiki/Planet.osm
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`

### License

Same license as the original data from PlanetOSM: [Open Database License](http://wiki.openstreetmap.org/wiki/Open_Database_License).
4 changes: 2 additions & 2 deletions geopoint/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 5000
"bulk-size": {{bulk_size | default(5000)}}
},
{
"name": "index-update",
"operation-type": "index",
"bulk-size": 5000,
"bulk-size": {{bulk_size | default(5000)}},
"conflicts": "random"
},
{
Expand Down
6 changes: 6 additions & 0 deletions logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Modifications:
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`

### License

Original license text:
Expand Down
2 changes: 1 addition & 1 deletion logging/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 5000
"bulk-size": {{bulk_size | default(5000)}}
},
{
"name": "force-merge",
Expand Down
6 changes: 6 additions & 0 deletions nested/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ These scripts are available in the raw_data_prep_scripts.zip file.
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`

### License

We use the same license for the data as the original data: [CC-SA-3.0](http://creativecommons.org/licenses/by-sa/3.0/)
Expand Down
2 changes: 1 addition & 1 deletion nested/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 5000
"bulk-size": {{bulk_size | default(5000)}}
},
{
"name": "force-merge",
Expand Down
6 changes: 6 additions & 0 deletions noaa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ To recreate the document corpus:
"TMIN": 15.5
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`
2 changes: 1 addition & 1 deletion noaa/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "index",
"operation-type": "index",
"bulk-size": 5000
"bulk-size": {{bulk_size | default(5000)}}
},
{
"name": "force-merge",
Expand Down
6 changes: 6 additions & 0 deletions nyc_taxis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ bzip2 -k documents.json
"vendor_id": "2"
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`
2 changes: 1 addition & 1 deletion nyc_taxis/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "index",
"operation-type": "index",
"bulk-size": 10000
"bulk-size": {{bulk_size | default(10000)}}
},
{
"name": "default",
Expand Down
6 changes: 6 additions & 0 deletions percolator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ The queries.json.bz2 file contains list of ES queries that has been randomly gen
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`

### License

AOL's original README:
Expand Down
2 changes: 1 addition & 1 deletion percolator/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "index",
"operation-type": "index",
"bulk-size": 5000
"bulk-size": {{bulk_size | default(5000)}}
},
{
"name": "force-merge",
Expand Down
7 changes: 7 additions & 0 deletions pmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Note that the ``body`` content is actually much longer has been shortened here t
}
```

### Parameters

This track allows to overwrite the following parameters with Rally 0.8.0+ using `--track-params`:

* `bulk_size`
* [`default_search_timeout`](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/search.html#global-search-timeout)

### License

All articles that are included are licensed as CC-BY (http://creativecommons.org/licenses/by/2.0/)
Expand Down
2 changes: 1 addition & 1 deletion pmc/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Indexes the whole document corpus using Elasticsearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Rally will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"default": true,
"cluster-settings": {
"search.default_search_timeout": "{{search_timeout | default(-1)}}"
"search.default_search_timeout": "{{default_search_timeout | default(-1)}}"
},
"index-settings": {
"index.number_of_replicas": 0
Expand Down
4 changes: 2 additions & 2 deletions pmc/operations/default.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 500
"bulk-size": {{bulk_size | default(500)}}
},
{
"name": "index-update",
"operation-type": "index",
"bulk-size": 500,
"bulk-size": {{bulk_size | default(500)}},
"conflicts": "random"
},
{
Expand Down

0 comments on commit 309f53e

Please sign in to comment.