"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yml" (29 Dec 2021, 1083 Bytes) of package /linux/www/elasticsearch-6.8.23-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ---
    2 "clear_cache test":
    3   - do:
    4       indices.clear_cache: {}
    5 
    6 ---
    7 "clear_cache with request set to false":
    8   - skip:
    9       version: " - 5.3.99"
   10       reason: this name was added in 5.4
   11 
   12   - do:
   13       indices.clear_cache:
   14         request: false
   15 
   16 ---
   17 "clear_cache with request_cache set to false":
   18   - skip:
   19       version: " - 5.3.99"
   20       reason: request_cache was deprecated in 5.4.0
   21       features: "warnings"
   22 
   23   - do:
   24       warnings:
   25         - 'Deprecated field [request_cache] used, expected [request] instead'
   26       indices.clear_cache:
   27         request_cache: false
   28 
   29 ---
   30 "clear_cache with field_data set to true":
   31   - skip:
   32       version: " - 6.2.99"
   33       reason: field_data was deprecated in 6.3.0
   34       features: "warnings"
   35 
   36   - do:
   37       warnings:
   38         - 'Deprecated field [field_data] used, expected [fielddata] instead'
   39       indices.clear_cache:
   40         field_data: true
   41 
   42 ---
   43 "clear_cache with fielddata set to true":
   44   - skip:
   45       version: " - 6.2.99"
   46       reason: fielddata was deprecated before 6.3.0
   47 
   48   - do:
   49       indices.clear_cache:
   50         fielddata: true