mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-31 04:18:39 +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
rest-api-spec/src/main/resources/rest-api-spec/test/search
server/src/main/java/org/opensearch/index/query
@ -44,8 +44,8 @@ setup:
|
|||||||
---
|
---
|
||||||
"Test regexp, explicit case sensitive":
|
"Test regexp, explicit case sensitive":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 1.99.99"
|
version: " - 1.2.99"
|
||||||
reason: "case_insensitive introduced in 2.0"
|
reason: "case_insensitive introduced in 1.3"
|
||||||
- do:
|
- do:
|
||||||
search:
|
search:
|
||||||
index: test
|
index: test
|
||||||
@ -61,8 +61,8 @@ setup:
|
|||||||
---
|
---
|
||||||
"Test regexp, explicit case insensitive":
|
"Test regexp, explicit case insensitive":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 1.99.99"
|
version: " - 1.2.99"
|
||||||
reason: "case_insensitive introduced in 2.0"
|
reason: "case_insensitive introduced in 1.3"
|
||||||
- do:
|
- do:
|
||||||
search:
|
search:
|
||||||
index: test
|
index: test
|
||||||
|
@ -709,7 +709,7 @@ public abstract class IntervalsSourceProvider implements NamedWriteable, ToXCont
|
|||||||
this.flags = in.readVInt();
|
this.flags = in.readVInt();
|
||||||
this.useField = in.readOptionalString();
|
this.useField = in.readOptionalString();
|
||||||
this.maxExpansions = in.readOptionalVInt();
|
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();
|
this.caseInsensitive = in.readBoolean();
|
||||||
} else {
|
} else {
|
||||||
this.caseInsensitive = false;
|
this.caseInsensitive = false;
|
||||||
@ -783,7 +783,7 @@ public abstract class IntervalsSourceProvider implements NamedWriteable, ToXCont
|
|||||||
out.writeVInt(flags);
|
out.writeVInt(flags);
|
||||||
out.writeOptionalString(useField);
|
out.writeOptionalString(useField);
|
||||||
out.writeOptionalVInt(maxExpansions);
|
out.writeOptionalVInt(maxExpansions);
|
||||||
if (out.getVersion().onOrAfter(Version.V_2_0_0)) {
|
if (out.getVersion().onOrAfter(Version.V_1_3_0)) {
|
||||||
out.writeBoolean(caseInsensitive);
|
out.writeBoolean(caseInsensitive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user