Skip to content

Commit

Permalink
I hate YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Mar 5, 2024
1 parent 7eddba0 commit 360256d
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ setup:

---
"text expansion documents do not create new mappings":
- do:
- do:
indices.get_mapping:
index: test-sparse-index

- match: {test-sparse-index.mappings.properties.inference_field.type: semantic_text}
- match: {test-sparse-index.mappings.properties.another_inference_field.type: semantic_text}
- match: {test-sparse-index.mappings.properties.non_inference_field.type: text}
- length: {test-sparse-index.mappings.properties: 3}
- match: {test-sparse-index.mappings.properties.inference_field.type: semantic_text}
- match: {test-sparse-index.mappings.properties.another_inference_field.type: semantic_text}
- match: {test-sparse-index.mappings.properties.non_inference_field.type: text}
- length: {test-sparse-index.mappings.properties: 3}

---
"Calculates text embeddings results for new documents":
Expand Down Expand Up @@ -130,8 +130,8 @@ setup:
---
"text embeddings documents do not create new mappings":
- do:
indices.get_mapping:
index: test-dense-index
indices.get_mapping:
index: test-dense-index

- match: {test-dense-index.mappings.properties.inference_field.type: semantic_text}
- match: {test-dense-index.mappings.properties.another_inference_field.type: semantic_text}
Expand Down

0 comments on commit 360256d

Please sign in to comment.