From dba67c1ac0abba81449bcc8265d8b41656a49d48 Mon Sep 17 00:00:00 2001 From: Rishabh Maurya Date: Wed, 3 Jan 2024 16:53:09 -0800 Subject: [PATCH 1/2] update the skip version for integ tests to 2.11.99 Signed-off-by: Rishabh Maurya --- .../test/search.query/11_match_field_match_only_text.yml | 2 +- .../20_ngram_search_field_match_only_text.yml | 4 ++-- .../30_ngram_highligthing_field_match_only_text.yml | 2 +- .../40_query_string_field_match_only_text.yml | 2 +- ...string_with_default_analyzer_field_match_only_text.yml | 2 +- .../50_queries_with_synonyms_field_match_only_text.yml | 4 ++-- .../60_synonym_graph_field_match_only_text.yml | 2 +- .../search.query/70_intervals_field_match_only_text.yml | 4 ++-- .../search.suggest/20_phrase_field_match_only_text.yml | 8 ++++---- .../20_highlighting_field_match_only_text.yml | 2 +- .../20_query_string_field_match_only_text.yml | 2 +- .../30_sig_terms_field_match_only_text.yml | 2 +- .../90_sig_text_field_match_only_text.yml | 4 ++-- .../20_highlighting_field_match_only_text.yml | 2 +- .../test/search/160_exists_query_match_only_text.yml | 2 +- .../search/200_phrase_search_field_match_only_text.yml | 2 +- .../310_match_bool_prefix_field_match_only_text.yml | 2 +- .../search/320_disallow_queries_field_match_only_text.yml | 2 +- .../search_shards/10_basic_field_match_only_field.yml | 2 +- 19 files changed, 26 insertions(+), 26 deletions(-) diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml index 40ff2c2f4cdbe..843dcb9ff1346 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml @@ -2,7 +2,7 @@ "match query with stacked stems": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" # Tests the match query stemmed tokens are "stacked" on top of the unstemmed # versions in the same position. diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml index 95b648dee47c8..ffe85366dab58 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml @@ -1,6 +1,6 @@ "ngram search": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: @@ -45,7 +45,7 @@ --- "testNGramCopyField": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml index 597f55679a2c6..73abef989b62d 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml @@ -1,6 +1,6 @@ "ngram highlighting": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml index ddebb1d76acbc..92fb35ee90002 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "Test query string with snowball": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml index 97f3fb65e94a2..22d95f1cff9f6 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "Test default search analyzer is applied": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml index 0c263a47a38e6..7f734c8122bb9 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "Test common terms query with stacked tokens": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" features: "allowed_warnings" @@ -247,7 +247,7 @@ --- "Test match query with synonyms - see #3881 for extensive description of the issue": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml index 91a8b1509517e..00461ba719b33 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml @@ -1,6 +1,6 @@ setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml index 9792c9d2695ea..2182320f17e87 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml @@ -1,7 +1,7 @@ # integration tests for intervals queries using analyzers setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: @@ -26,7 +26,7 @@ setup: --- "Test use_field": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: catch: bad_request diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml index aff2b3f11101c..8db5cf501c735 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml @@ -2,7 +2,7 @@ setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: @@ -122,7 +122,7 @@ setup: --- "breaks ties by sorting terms": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" # This runs the suggester without bigrams so we can be sure of the sort order - do: @@ -181,7 +181,7 @@ setup: --- "doesn't fail when asked to run on a field without unigrams when force_unigrams=false": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: search: @@ -213,7 +213,7 @@ setup: --- "reverse suggestions": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: search: diff --git a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml index 3cb8e09c70aed..f57f77ddd7757 100644 --- a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml +++ b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml @@ -1,6 +1,6 @@ setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml index 085c5633ac72b..59bb3742725f5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "validate_query with query_string parameters": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml index 7a96536a2e261..b57db3383f240 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "Default index": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml index bc41f157dfdc4..827bfa16c9e7b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "Default index": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: @@ -78,7 +78,7 @@ --- "Dedup noise": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml index 7100d620bf19e..cac495ee1a61f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml @@ -1,6 +1,6 @@ setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml index 03626236604a1..586841c82fd69 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml @@ -1,6 +1,6 @@ setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" features: ["headers"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml index a41b8d353e3e9..628d2a5e0cfab 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml @@ -1,7 +1,7 @@ --- "search with indexed phrases": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml index fc4e9f9de0f38..6b0330c2f431d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml @@ -1,6 +1,6 @@ setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml index f4faf87eb83cc..076e3722a2921 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml @@ -1,7 +1,7 @@ --- setup: - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml index cc15796e4697f..16eb0d7d4ded5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml @@ -1,7 +1,7 @@ --- "Search shards aliases with and without filters": - skip: - version: " - 2.99.99" + version: " - 2.11.99" reason: "match_only_text was added in 3.0" - do: From 99b1cd52520e998e4b76f55e00cb62dff4f0b5be Mon Sep 17 00:00:00 2001 From: Rishabh Maurya Date: Thu, 4 Jan 2024 11:04:52 -0800 Subject: [PATCH 2/2] fix the version in skip section reason Signed-off-by: Rishabh Maurya --- .../test/search.query/11_match_field_match_only_text.yml | 2 +- .../20_ngram_search_field_match_only_text.yml | 4 ++-- .../30_ngram_highligthing_field_match_only_text.yml | 2 +- .../40_query_string_field_match_only_text.yml | 2 +- ...string_with_default_analyzer_field_match_only_text.yml | 2 +- .../50_queries_with_synonyms_field_match_only_text.yml | 4 ++-- .../60_synonym_graph_field_match_only_text.yml | 2 +- .../search.query/70_intervals_field_match_only_text.yml | 4 ++-- .../search.suggest/20_phrase_field_match_only_text.yml | 8 ++++---- .../20_highlighting_field_match_only_text.yml | 2 +- .../20_query_string_field_match_only_text.yml | 2 +- .../30_sig_terms_field_match_only_text.yml | 2 +- .../90_sig_text_field_match_only_text.yml | 4 ++-- .../20_highlighting_field_match_only_text.yml | 2 +- .../test/search/160_exists_query_match_only_text.yml | 2 +- .../search/200_phrase_search_field_match_only_text.yml | 2 +- .../310_match_bool_prefix_field_match_only_text.yml | 2 +- .../search/320_disallow_queries_field_match_only_text.yml | 2 +- .../search_shards/10_basic_field_match_only_field.yml | 2 +- 19 files changed, 26 insertions(+), 26 deletions(-) diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml index 843dcb9ff1346..140d70414a4a7 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/11_match_field_match_only_text.yml @@ -3,7 +3,7 @@ "match query with stacked stems": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" # Tests the match query stemmed tokens are "stacked" on top of the unstemmed # versions in the same position. - do: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml index ffe85366dab58..a5da3043f19b5 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/20_ngram_search_field_match_only_text.yml @@ -1,7 +1,7 @@ "ngram search": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test @@ -46,7 +46,7 @@ "testNGramCopyField": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml index 73abef989b62d..accf5d975d57f 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/30_ngram_highligthing_field_match_only_text.yml @@ -1,7 +1,7 @@ "ngram highlighting": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml index 92fb35ee90002..717d3a7dd8a3e 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/40_query_string_field_match_only_text.yml @@ -2,7 +2,7 @@ "Test query string with snowball": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml index 22d95f1cff9f6..cd2d2e42c6a17 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/41_query_string_with_default_analyzer_field_match_only_text.yml @@ -2,7 +2,7 @@ "Test default search analyzer is applied": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml index 7f734c8122bb9..0c537dd42d583 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/50_queries_with_synonyms_field_match_only_text.yml @@ -2,7 +2,7 @@ "Test common terms query with stacked tokens": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" features: "allowed_warnings" - do: @@ -248,7 +248,7 @@ "Test match query with synonyms - see #3881 for extensive description of the issue": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml index 00461ba719b33..d3f5d0fe4f8b4 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/60_synonym_graph_field_match_only_text.yml @@ -1,7 +1,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml index 2182320f17e87..8334ca27ff274 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals_field_match_only_text.yml @@ -2,7 +2,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test @@ -27,7 +27,7 @@ setup: "Test use_field": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: catch: bad_request search: diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml index 8db5cf501c735..90596ca04205c 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.suggest/20_phrase_field_match_only_text.yml @@ -3,7 +3,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test @@ -123,7 +123,7 @@ setup: "breaks ties by sorting terms": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" # This runs the suggester without bigrams so we can be sure of the sort order - do: search: @@ -182,7 +182,7 @@ setup: "doesn't fail when asked to run on a field without unigrams when force_unigrams=false": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: search: rest_total_hits_as_int: true @@ -214,7 +214,7 @@ setup: "reverse suggestions": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: search: rest_total_hits_as_int: true diff --git a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml index f57f77ddd7757..1d6a938675e39 100644 --- a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml +++ b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting_field_match_only_text.yml @@ -1,7 +1,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml index 59bb3742725f5..044ae5dd6a94d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string_field_match_only_text.yml @@ -2,7 +2,7 @@ "validate_query with query_string parameters": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml index b57db3383f240..d1cc6c8295bd9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms_field_match_only_text.yml @@ -2,7 +2,7 @@ "Default index": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: goodbad diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml index 827bfa16c9e7b..e21c4fb946d85 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/90_sig_text_field_match_only_text.yml @@ -2,7 +2,7 @@ "Default index": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: goodbad @@ -79,7 +79,7 @@ "Dedup noise": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: goodbad diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml index cac495ee1a61f..9e60d69bfedd7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.inner_hits/20_highlighting_field_match_only_text.yml @@ -1,7 +1,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: index: test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml index 586841c82fd69..69c639a8f506a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/160_exists_query_match_only_text.yml @@ -1,7 +1,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" features: ["headers"] - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml index 628d2a5e0cfab..13fd6b3858948 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/200_phrase_search_field_match_only_text.yml @@ -2,7 +2,7 @@ "search with indexed phrases": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml index 6b0330c2f431d..682a7dded1e9b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix_field_match_only_text.yml @@ -1,7 +1,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml index 076e3722a2921..00e54e43d6f04 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries_field_match_only_text.yml @@ -2,7 +2,7 @@ setup: - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml index 16eb0d7d4ded5..44adb48c8765e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic_field_match_only_field.yml @@ -2,7 +2,7 @@ "Search shards aliases with and without filters": - skip: version: " - 2.11.99" - reason: "match_only_text was added in 3.0" + reason: "match_only_text was added in 2.12" - do: indices.create: