Update bwc verions for (#2237) (#2248)

Update the bwc versions for #2237 since it was backported to 1.3.

Signed-off-by: Matt Weber <matt@mattweber.org>
This commit is contained in:
Matt Weber 2022-02-24 16:14:49 -08:00 committed by GitHub
parent d892c51d66
commit 9f6e2e56e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -44,8 +44,8 @@ setup:
---
"Test regexp, explicit case sensitive":
- skip:
version: " - 1.99.99"
reason: "case_insensitive introduced in 2.0"
version: " - 1.2.99"
reason: "case_insensitive introduced in 1.3"
- do:
search:
index: test
@ -61,8 +61,8 @@ setup:
---
"Test regexp, explicit case insensitive":
- skip:
version: " - 1.99.99"
reason: "case_insensitive introduced in 2.0"
version: " - 1.2.99"
reason: "case_insensitive introduced in 1.3"
- do:
search:
index: test

View File

@ -709,7 +709,7 @@ public abstract class IntervalsSourceProvider implements NamedWriteable, ToXCont
this.flags = in.readVInt();
this.useField = in.readOptionalString();
this.maxExpansions = in.readOptionalVInt();
if (in.getVersion().onOrAfter(Version.V_2_0_0)) {
if (in.getVersion().onOrAfter(Version.V_1_3_0)) {
this.caseInsensitive = in.readBoolean();
} else {
this.caseInsensitive = false;
@ -783,7 +783,7 @@ public abstract class IntervalsSourceProvider implements NamedWriteable, ToXCont
out.writeVInt(flags);
out.writeOptionalString(useField);
out.writeOptionalVInt(maxExpansions);
if (out.getVersion().onOrAfter(Version.V_2_0_0)) {
if (out.getVersion().onOrAfter(Version.V_1_3_0)) {
out.writeBoolean(caseInsensitive);
}
}