Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Binlong <gbinlong@amazon.com>
  • Loading branch information
gaobinlong committed Oct 30, 2023
1 parent 38aca33 commit 7e9261c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ setup:
max_chars: 5
text_with_pos_inc_gap:
type: text
text_with_pos_inc_gap: 201
position_increment_gap: 201
index_prefixes:
min_chars: 2
max_chars: 5
Expand All @@ -32,13 +32,13 @@ setup:
index:
index: test
id: 3
body: { text: ["a", "b-12"] }
body: { text: ["foo", "b-12"] }

- do:
index:
index: test
id: 4
body: { text_with_pos_inc_gap: ["a", "b-12"] }
body: { text_with_pos_inc_gap: ["foo", "b-12"] }

- do:
indices.refresh:
Expand Down Expand Up @@ -148,7 +148,7 @@ setup:
- match: {hits.total: 1}

---
"search index prefixes with multiple value":
"search index prefixes with multiple value and custom position_increment_gap":
- do:
search:
rest_total_hits_as_int: true
Expand Down

0 comments on commit 7e9261c

Please sign in to comment.