name: "ftsb-1M-enwiki_abstract-hashes-fulltext-2word-union-query"
description: "
             enwiki-abstract [details here](https://github.com/RediSearch/ftsb/blob/master/docs/enwiki-abstract-benchmark/description.md), 
             from English-language Wikipedia:Database page abstracts. 
             This use case generates 3 TEXT fields per document, and focusses on full text queries performance.
             Specifically for this testcase:
                - Type (read/write/mixed): read
                - Query type: 2 Word Union Query
                - Query sample: Abraham|Lincoln

             To generate the input data use https://github.com/RediSearch/ftsb project. Within it:
             cd scripts/datagen_redisearch/enwiki_abstract
             python3 ftsb_generate_enwiki_abstract.py --query-choices 2word-union-query --doc-limit 1000000 --upload-artifacts-s3-uncompressed
             "

metadata:
  component: "search"
setups:
  - oss-standalone
  - oss-cluster-02-primaries
  - oss-cluster-04-primaries
  - oss-cluster-08-primaries
  - oss-cluster-16-primaries
  - oss-cluster-20-primaries
  - oss-cluster-24-primaries
  - oss-cluster-32-primaries

dbconfig:
  - dataset_name: "ftsb-1M-enwiki_abstract-hashes"
  - init_commands:
    - '"FT.CREATE" "enwiki_abstract" "ON" "HASH" "SCHEMA" "title" "text" "SORTABLE" "url" "text" "SORTABLE" "abstract" "text" "SORTABLE"'
  - tool: ftsb_redisearch
  - parameters:
    - workers: 64
    - reporting-period: 1s
    - input: "https://s3.amazonaws.com/benchmarks.redislabs/redisearch/datasets/1M-enwiki_abstract-hashes/1M-enwiki_abstract-hashes.redisearch.commands.SETUP.csv"
clientconfig:
  - benchmark_type: "read-only"
  - tool: ftsb_redisearch
  - parameters:
    - workers: 64
    - requests: 1000000
    - reporting-period: 1s
    - duration: 120s
    - input: "https://s3.amazonaws.com/benchmarks.redislabs/redisearch/datasets/1M-enwiki_abstract-hashes/1M-enwiki_abstract-hashes.redisearch.commands.BENCH.QUERY_2word-union-query.csv"
