mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
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:
parent
d892c51d66
commit
9f6e2e56e0
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user