All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest-api-spec.test.mget.12_non_existent_index.yml Maven / Gradle / Ivy

There is a newer version: 2.18.0
Show newest version
---
"Non-existent index":
  - do:
      index:
          index:  test_1
          id:     1
          body:   { foo: bar }

  - do:
      mget:
        body:
          docs:
            - { _index: test_2, _id: 1}

  - is_false: docs.0.found
  - match:  { docs.0._index:     test_2      }
  - match:  { docs.0._id:        "1"         }

  - do:
      mget:
        body:
          docs:
            - { _index: test_1, _id: 1}

  - is_true:  docs.0.found
  - match:  { docs.0._index:     test_1      }
  - match:  { docs.0._id:        "1"         }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy