Skip to content

Commit

Permalink
Add index_settings track parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Mar 15, 2018
1 parent fe772eb commit ce2e62a
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 35 deletions.
1 change: 1 addition & 0 deletions geonames/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 5000)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)
* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).

### License

Expand Down
8 changes: 4 additions & 4 deletions geonames/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"cluster-settings": {
"indices.query.bool.max_clause_count": 50000
},
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down Expand Up @@ -132,9 +132,9 @@
{
"name": "append-no-conflicts-index-only",
"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.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down
1 change: 1 addition & 0 deletions geopoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 5000)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)
* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).

### License

Expand Down
8 changes: 4 additions & 4 deletions geopoint/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "append-no-conflicts",
"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,
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down Expand Up @@ -72,9 +72,9 @@
{
"name": "append-no-conflicts-index-only",
"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.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down
1 change: 1 addition & 0 deletions http_logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 5000)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)
* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).

### License

Expand Down
8 changes: 4 additions & 4 deletions http_logs/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "append-no-conflicts",
"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,
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down Expand Up @@ -79,9 +79,9 @@
{
"name": "append-no-conflicts-index-only",
"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.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down
3 changes: 2 additions & 1 deletion nested/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using

* `bulk_size` (default: 5000)
* `bulk_indexing_clients` (default: 4): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)
* `number_of_replicas` (default: 0)
* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).

### License

Expand Down
8 changes: 4 additions & 4 deletions nested/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "nested-search-challenge",
"description": "Indexes the document corpus for an hour using Elasticsearch default settings. After that randomized nested queries are run.",
"default": true,
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_shards": 1,
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down Expand Up @@ -81,10 +81,10 @@
{
"name": "index-only",
"description": "Indexes the document corpus for an hour using Elasticsearch default settings.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_shards": 1,
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down
2 changes: 1 addition & 1 deletion noaa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 5000)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)

* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).
8 changes: 4 additions & 4 deletions noaa/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "append-no-conflicts",
"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 and we want to ensure that we don't use the query cache. Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"default": true,
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_shards": 1,
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": false
},
}{%- endif %},
"schedule": [
{
"operation": "index",
Expand Down Expand Up @@ -89,11 +89,11 @@
{
"name": "append-no-conflicts-index-only",
"description": "Indexes the whole document corpus using Elasticsearch default settings.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_shards": 1,
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": false
},
}{%- endif %},
"schedule": [
{
"operation": "index",
Expand Down
2 changes: 1 addition & 1 deletion nyc_taxis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 10000)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)

* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).
8 changes: 4 additions & 4 deletions nyc_taxis/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "append-no-conflicts",
"description": "Indexes the whole document corpus using a setup that will lead to a larger indexing throughput than the default settings and produce a smaller index (higher compression rate). Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"default": true,
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_shards": 1,
"index.codec": "best_compression",
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.refresh_interval": "30s",
"index.translog.flush_threshold_size": "4g"
},
}{%- endif %},
"schedule": [
{
"operation": "index",
Expand Down Expand Up @@ -46,13 +46,13 @@
{
"name": "append-no-conflicts-index-only",
"description": "Indexes the whole document corpus using a setup that will lead to a larger indexing throughput than the default settings and produce a smaller index (higher compression rate). Document ids are unique so all index operations are append only.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_shards": 1,
"index.codec": "best_compression",
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.refresh_interval": "30s",
"index.translog.flush_threshold_size": "4g"
},
}{%- endif %},
"schedule": [
{
"operation": "index",
Expand Down
1 change: 1 addition & 0 deletions percolator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 5000)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)
* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).

### License

Expand Down
8 changes: 4 additions & 4 deletions percolator/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "append-no-conflicts",
"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 and we want to ensure that we don't use the query cache. Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"default": true,
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": false
},
}{%- endif %},
"schedule": [
{
"operation": "index",
Expand Down Expand Up @@ -103,9 +103,9 @@
{
"name": "append-no-conflicts-index-only",
"description": "Indexes the whole document corpus using Elasticsearch default settings.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index",
Expand Down
1 change: 1 addition & 0 deletions pmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This track allows to overwrite the following parameters with Rally 0.8.0+ using
* `bulk_size` (default: 500)
* `bulk_indexing_clients` (default: 8): Number of clients that issue bulk indexing requests.
* `number_of_replicas` (default: 0)
* `index_settings`: A list of index settings. If it is defined, it replaces *all* other index settings (e.g. `number_of_replicas`).
* [`default_search_timeout`](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/search.html#global-search-timeout) (default: -1)

### License
Expand Down
8 changes: 4 additions & 4 deletions pmc/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"cluster-settings": {
"search.default_search_timeout": "{{default_search_timeout | default(-1)}}"
},
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down Expand Up @@ -89,9 +89,9 @@
{
"name": "append-no-conflicts-index-only",
"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.",
"index-settings": {
"index-settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.number_of_replicas": {{number_of_replicas | default(0)}}
},
}{%- endif %},
"schedule": [
{
"operation": "index-append",
Expand Down

0 comments on commit ce2e62a

Please sign in to comment.