Skip to content

Commit

Permalink
added query cache to every workload and updated README.md files
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <awskiran@amazon.com>
  • Loading branch information
kiranprakash154 authored and gkamat committed Oct 27, 2023
1 parent c99bea8 commit 93b03fa
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions eventdata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ This workload allows the following parameters to be specified using `--workload-
* `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 5)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions eventdata/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(5)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions geonames/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ This workload allows the following parameters to be specified using `--workload-
* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Benchmark docs](https://github.com/opensearch-project/OpenSearch-Benchmark/blob/main/DEVELOPER_GUIDE.md) for the full definition of this parameter. This requires to run the respective test_procedure.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 5)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions geonames/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"index.number_of_shards": {{number_of_shards | default(5)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.store.type": "{{store_type | default('fs')}}",
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions geopoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ This workload allows the following parameters to be specified using `--workload-
* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Benchmark docs](https://github.com/opensearch-project/OpenSearch-Benchmark/blob/main/DEVELOPER_GUIDE.md) for the full definition of this parameter. This requires to run the respective test_procedure.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 5)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `max_num_segments`: The maximum number of segments to force-merge to.
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
Expand Down
1 change: 1 addition & 0 deletions geopoint/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(5)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions geopointshape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This workload allows the following parameters to be specified using `--workload-
* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Benchmark docs](https://github.com/opensearch-project/OpenSearch-Benchmark/blob/main/DEVELOPER_GUIDE.md) for the full definition of this parameter. This requires to run the respective test_procedure.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 1)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions geopointshape/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(1)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions geoshape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This workload allows the following parameters to be specified using `--workload-
* `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 1)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions geoshape/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(1)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions http_logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ This workload allows the following parameters to be specified using `--workload-
* `conflict_probability` (default: 25): A number between 0 and 100 that defines the probability of id conflicts. This requires to run the respective test_procedure. Combining ``conflicts=sequential`` and ``conflict-probability=0`` makes Benchmark generate index ids by itself, instead of relying on OpenSearch's `automatic id generation`.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 5)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions http_logs/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{ number_of_shards | default(5) }},
"index.number_of_replicas": {{ number_of_replicas | default(0) }},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions nested/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ This workload allows the following parameters to be specified using `--workload-
* `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 1)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions nested/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"index.number_of_shards": {{number_of_shards | default(1)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.store.type": "{{store_type | default('fs')}}",
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false | tojson)}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions nyc_taxis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ This workload allows [specifying the following parameters](#specifying-workload-
* `recency` (default: 0): A number between 0 and 1 that defines whether to bias towards more recent ids when simulating conflicts. See the [Benchmark docs](https://github.com/opensearch-project/OpenSearch-Benchmark/blob/main/DEVELOPER_GUIDE.md) for the full definition of this parameter. Only used by the `update` test_procedure.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 1)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `force_merge_max_num_segments` (default: unset): An integer specifying the max amount of segments the force-merge operation should use.
Expand Down
1 change: 1 addition & 0 deletions nyc_taxis/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(1)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions pmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ This workload allows the following parameters to be specified using `--workload-
* `max_num_segments`: The number of segments to target when doing a force merge (default: -1)
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 5)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions pmc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(5)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down
1 change: 1 addition & 0 deletions so/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ This workload allows the following parameters to be specified using `--workload-
* `ingest_percentage` (default: 100): A number between 0 and 100 that defines how much of the document corpus should be ingested.
* `number_of_replicas` (default: 0)
* `number_of_shards` (default: 5)
* `query_cache_enabled` (default: false)
* `requests_cache_enabled` (default: false)
* `source_enabled` (default: true): A boolean defining whether the `_source` field is stored in the index.
* `index_settings`: A list of index settings. Index settings defined elsewhere (e.g. `number_of_replicas`) need to be overridden explicitly.
Expand Down
1 change: 1 addition & 0 deletions so/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"settings": {
"index.number_of_shards": {{number_of_shards | default(5)}},
"index.number_of_replicas": {{number_of_replicas | default(0)}},
"index.queries.cache.enabled": {{query_cache_enabled | default(false) | tojson}},
"index.requests.cache.enable": {{requests_cache_enabled | default(false) | tojson}}
},
"mappings": {
Expand Down

0 comments on commit 93b03fa

Please sign in to comment.