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

rest-api-spec.test.termvectors.20_issue7121.yml Maven / Gradle / Ivy

There is a newer version: 2.18.0
Show newest version
---
"Term vector API should return 'found: false' for docs between index and refresh":
  - do:
      indices.create:
          index: testidx
          body:
            settings:
              index:
                translog.flush_threshold_size: "512MB"
                number_of_shards: 1
                number_of_replicas: 0
                refresh_interval: -1
            mappings:
              properties:
                text:
                   type : "text"
                   term_vector : "with_positions_offsets"

  - do:
      cluster.health:
        wait_for_status: green

  - do:
      index:
        index: testidx
        id:    1
        body:
            text : "foo bar"

  - do:
      termvectors:
        index: testidx
        id:    1
        realtime: false

  - match: { _index: "testidx" }
  - match: { _id: "1" }
  - is_false: found




© 2015 - 2024 Weber Informatics LLC | Privacy Policy