Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions big5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ This workload allows the following parameters to be specified using `--workload-
* `target_throughput` (default: 2): Target throughput for each query operation in requests per second, use 0 or "" for no throughput throttling.
* `warmup_iterations` (default: 100): Number of warmup query iterations prior to actual measurements commencing.
* `index_translog_durability` (default: "async"): Controls the transaction log flush behavior. "request" flushes after every operation to avoid data loss, while "async" batches changes for efficiency.
* `cardinality_agg_high_field` (default: "event.id"): Use another field name for cardinality_agg_high test, previously "agent.name" was used.

NOTE: If disabling `target_throughput`, know that `target_throughput:""` is snynonymous with `target_throughput:0`.

Expand Down
6 changes: 5 additions & 1 deletion big5/operations/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -886,12 +886,16 @@
"name": "cardinality-agg-high",
"operation-type": "search",
"index": "{{index_name | default('big5')}}",
"request-timeout": 1800,
"body": {
"size": 0,
"aggs": {
"agent": {
"cardinality": {
"field": "agent.name"
"field": "{{cardinality_agg_high_field | default('event.id')}}"
{% if distribution_version.split('.') | map('int') | list >= "2.19.1".split('.') | map('int') | list and distribution_version.split('.') | map('int') | list < "6.0.0".split('.') | map('int') | list %}
,"execution_hint":"ordinals"
{% endif %}
}
}
}
Expand Down