Skip to content

Commit

Permalink
update naming in REST tests
Browse files Browse the repository at this point in the history
Signed-off-by: Russ Cam <russcam@canva.com>
  • Loading branch information
russcam committed Aug 31, 2023
1 parent 15129d9 commit a80e9a0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1198,27 +1198,27 @@
- match: { tokens.0.token: foo }

---
"delimited_termfreq":
"delimited_term_freq":
- skip:
version: " - 2.9.99"
reason: "delimited_termfreq token filter was added in v2.10.0"
reason: "delimited_term_freq token filter was added in v2.10.0"
- do:
indices.create:
index: test
body:
settings:
analysis:
filter:
my_delimited_termfreq:
type: delimited_termfreq
my_delimited_term_freq:
type: delimited_term_freq
delimiter: ^
- do:
indices.analyze:
index: test
body:
text: foo^3
tokenizer: keyword
filter: [my_delimited_termfreq]
filter: [my_delimited_term_freq]
attributes: termFrequency
explain: true
- length: { detail.tokenfilters: 1 }
Expand All @@ -1231,7 +1231,7 @@
body:
text: foo|100
tokenizer: keyword
filter: [delimited_termfreq]
filter: [delimited_term_freq]
attributes: termFrequency
explain: true
- length: { detail.tokenfilters: 1 }
Expand Down

0 comments on commit a80e9a0

Please sign in to comment.