rest-api-spec.test.termvectors.20_issue7121.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
OpenSearch subproject :rest-api-spec
---
"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