Skip to content

Commit

Permalink
Remove doc order from yaml test (to future proof against shard count …
Browse files Browse the repository at this point in the history
…related test failures)
  • Loading branch information
kderusso committed Dec 16, 2024
1 parent 3e5e09c commit fe00f43
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ setup:
query: "inference test"

- match: { hits.total.value: 2 }
- match: { hits.hits.0._id: "doc_1" }
- match: { hits.hits.1._id: "doc_2" }

---
"sparse_vector query against combined sparse_vector and semantic_text fields still requires inference ID":
Expand Down Expand Up @@ -231,8 +229,6 @@ setup:
query_vector: { "feature_0": 1, "feature_1": 2, "feature_2": 3, "feature_3": 4, "feature_4": 5 }

- match: { hits.total.value: 2 }
- match: { hits.hits.0._id: "doc_1" }
- match: { hits.hits.1._id: "doc_2" }


---
Expand All @@ -250,6 +246,4 @@ setup:
query: "inference test"

- match: { hits.total.value: 2 }
- match: { hits.hits.0._id: "doc_1" }
- match: { hits.hits.1._id: "doc_3" }

0 comments on commit fe00f43

Please sign in to comment.