mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
parent
fcd54cdb7c
commit
405eb7a751
@ -45,7 +45,7 @@ setup:
|
|||||||
"Nested doc version and seqIDs":
|
"Nested doc version and seqIDs":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO change to 6.3.99 on backport
|
version: " - 6.3.99"
|
||||||
reason: "object notation for docvalue_fields was introduced in 6.4"
|
reason: "object notation for docvalue_fields was introduced in 6.4"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
@ -134,7 +134,7 @@ setup:
|
|||||||
---
|
---
|
||||||
"docvalue_fields":
|
"docvalue_fields":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO: change version on backport
|
version: " - 6.3.99"
|
||||||
reason: format option was added in 6.4
|
reason: format option was added in 6.4
|
||||||
features: warnings
|
features: warnings
|
||||||
- do:
|
- do:
|
||||||
@ -148,7 +148,7 @@ setup:
|
|||||||
---
|
---
|
||||||
"docvalue_fields as url param":
|
"docvalue_fields as url param":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO: change version on backport
|
version: " - 6.3.99"
|
||||||
reason: format option was added in 6.4
|
reason: format option was added in 6.4
|
||||||
features: warnings
|
features: warnings
|
||||||
- do:
|
- do:
|
||||||
@ -161,7 +161,7 @@ setup:
|
|||||||
---
|
---
|
||||||
"docvalue_fields with default format":
|
"docvalue_fields with default format":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO: change version on backport
|
version: " - 6.3.99"
|
||||||
reason: format option was added in 6.4
|
reason: format option was added in 6.4
|
||||||
- do:
|
- do:
|
||||||
search:
|
search:
|
||||||
@ -174,7 +174,7 @@ setup:
|
|||||||
---
|
---
|
||||||
"docvalue_fields with explicit format":
|
"docvalue_fields with explicit format":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO: change version on backport
|
version: " - 6.3.99"
|
||||||
reason: format option was added in 6.4
|
reason: format option was added in 6.4
|
||||||
- do:
|
- do:
|
||||||
search:
|
search:
|
||||||
|
@ -63,7 +63,7 @@ setup:
|
|||||||
"Docvalues_fields size limit":
|
"Docvalues_fields size limit":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO: change to 6.3.99 on backport
|
version: " - 6.3.99"
|
||||||
reason: "The object notation for docvalue_fields is only supported on 6.4+"
|
reason: "The object notation for docvalue_fields is only supported on 6.4+"
|
||||||
- do:
|
- do:
|
||||||
catch: /Trying to retrieve too many docvalue_fields\. Must be less than or equal to[:] \[2\] but was \[3\]\. This limit can be set by changing the \[index.max_docvalue_fields_search\] index level setting\./
|
catch: /Trying to retrieve too many docvalue_fields\. Must be less than or equal to[:] \[2\] but was \[3\]\. This limit can be set by changing the \[index.max_docvalue_fields_search\] index level setting\./
|
||||||
|
@ -137,7 +137,7 @@ public final class InnerHitBuilder implements Writeable, ToXContentObject {
|
|||||||
version = in.readBoolean();
|
version = in.readBoolean();
|
||||||
trackScores = in.readBoolean();
|
trackScores = in.readBoolean();
|
||||||
storedFieldsContext = in.readOptionalWriteable(StoredFieldsContext::new);
|
storedFieldsContext = in.readOptionalWriteable(StoredFieldsContext::new);
|
||||||
if (in.getVersion().before(Version.V_7_0_0_alpha1)) { // TODO: change to 6.4.0 after backport
|
if (in.getVersion().before(Version.V_6_4_0)) {
|
||||||
List<String> fieldList = (List<String>) in.readGenericValue();
|
List<String> fieldList = (List<String>) in.readGenericValue();
|
||||||
if (fieldList == null) {
|
if (fieldList == null) {
|
||||||
docValueFields = null;
|
docValueFields = null;
|
||||||
@ -188,7 +188,7 @@ public final class InnerHitBuilder implements Writeable, ToXContentObject {
|
|||||||
out.writeBoolean(version);
|
out.writeBoolean(version);
|
||||||
out.writeBoolean(trackScores);
|
out.writeBoolean(trackScores);
|
||||||
out.writeOptionalWriteable(storedFieldsContext);
|
out.writeOptionalWriteable(storedFieldsContext);
|
||||||
if (out.getVersion().before(Version.V_7_0_0_alpha1)) { // TODO: change to 6.4.0 after backport
|
if (out.getVersion().before(Version.V_6_4_0)) {
|
||||||
out.writeGenericValue(docValueFields == null
|
out.writeGenericValue(docValueFields == null
|
||||||
? null
|
? null
|
||||||
: docValueFields.stream().map(ff -> ff.field).collect(Collectors.toList()));
|
: docValueFields.stream().map(ff -> ff.field).collect(Collectors.toList()));
|
||||||
|
@ -199,7 +199,7 @@ public final class SearchSourceBuilder implements Writeable, ToXContentObject, R
|
|||||||
aggregations = in.readOptionalWriteable(AggregatorFactories.Builder::new);
|
aggregations = in.readOptionalWriteable(AggregatorFactories.Builder::new);
|
||||||
explain = in.readOptionalBoolean();
|
explain = in.readOptionalBoolean();
|
||||||
fetchSourceContext = in.readOptionalWriteable(FetchSourceContext::new);
|
fetchSourceContext = in.readOptionalWriteable(FetchSourceContext::new);
|
||||||
if (in.getVersion().before(Version.V_7_0_0_alpha1)) { // TODO: change to 6.4.0 after backport
|
if (in.getVersion().before(Version.V_6_4_0)) {
|
||||||
List<String> dvFields = (List<String>) in.readGenericValue();
|
List<String> dvFields = (List<String>) in.readGenericValue();
|
||||||
if (dvFields == null) {
|
if (dvFields == null) {
|
||||||
docValueFields = null;
|
docValueFields = null;
|
||||||
@ -263,7 +263,7 @@ public final class SearchSourceBuilder implements Writeable, ToXContentObject, R
|
|||||||
out.writeOptionalWriteable(aggregations);
|
out.writeOptionalWriteable(aggregations);
|
||||||
out.writeOptionalBoolean(explain);
|
out.writeOptionalBoolean(explain);
|
||||||
out.writeOptionalWriteable(fetchSourceContext);
|
out.writeOptionalWriteable(fetchSourceContext);
|
||||||
if (out.getVersion().before(Version.V_7_0_0_alpha1)) { // TODO: change to 6.4.0 after backport
|
if (out.getVersion().before(Version.V_6_4_0)) {
|
||||||
out.writeGenericValue(docValueFields == null
|
out.writeGenericValue(docValueFields == null
|
||||||
? null
|
? null
|
||||||
: docValueFields.stream().map(ff -> ff.field).collect(Collectors.toList()));
|
: docValueFields.stream().map(ff -> ff.field).collect(Collectors.toList()));
|
||||||
|
@ -80,7 +80,7 @@ public class DocValueFieldsContext {
|
|||||||
/** Serialization constructor. */
|
/** Serialization constructor. */
|
||||||
public FieldAndFormat(StreamInput in) throws IOException {
|
public FieldAndFormat(StreamInput in) throws IOException {
|
||||||
this.field = in.readString();
|
this.field = in.readString();
|
||||||
if (in.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) { // TODO: change to 6.4.0 after backport
|
if (in.getVersion().onOrAfter(Version.V_6_4_0)) {
|
||||||
format = in.readOptionalString();
|
format = in.readOptionalString();
|
||||||
} else {
|
} else {
|
||||||
format = null;
|
format = null;
|
||||||
@ -90,7 +90,7 @@ public class DocValueFieldsContext {
|
|||||||
@Override
|
@Override
|
||||||
public void writeTo(StreamOutput out) throws IOException {
|
public void writeTo(StreamOutput out) throws IOException {
|
||||||
out.writeString(field);
|
out.writeString(field);
|
||||||
if (out.getVersion().onOrAfter(Version.V_7_0_0_alpha1)) { // TODO: change to 6.4.0 after backport
|
if (out.getVersion().onOrAfter(Version.V_6_4_0)) {
|
||||||
out.writeOptionalString(format);
|
out.writeOptionalString(format);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
"Translate SQL":
|
"Translate SQL":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99" # TODO: change version on backport
|
version: " - 6.3.99"
|
||||||
reason: format option was added in 6.4
|
reason: format option was added in 6.4
|
||||||
features: warnings
|
features: warnings
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user