Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [TEST] Replace _source.mode with index.mapping.source.mode in integration tests (#115926) #116064

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,10 @@ synthetic _source:
indices.create:
index: test_synthetic
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
page:
type: keyword
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ setup:
body:
settings:
number_of_shards: 1
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
boolean:
type: boolean
Expand Down Expand Up @@ -5630,9 +5630,9 @@ version and sequence number synthetic _source:
body:
settings:
number_of_shards: 1
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
keyword:
type: keyword
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,10 @@ synthetic_source:
indices.create:
index: synthetic_source_test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
foo:
type: match_only_text
Expand Down Expand Up @@ -362,9 +363,10 @@ synthetic_source with copy_to:
indices.create:
index: synthetic_source_test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
foo:
type: match_only_text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ setup:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
pagerank:
type: rank_feature
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ setup:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
tags:
type: rank_features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ setup:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
a_field:
type: search_as_you_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
count:
type: token_count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ supported:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
join_field:
type: join
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@
indices.create:
index: queries_index
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
query:
type: percolator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ setup:
indices.create:
index: synthetic
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
kwd:
type: keyword
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ update:
indices.create:
index: synthetic
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
kwd:
type: keyword
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ keywords:
indices.create:
index: index1
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
field1:
type: keyword
Expand Down Expand Up @@ -76,9 +77,10 @@ doubles:
indices.create:
index: index1
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
field1:
type: double
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ stored annotated_text field:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down Expand Up @@ -40,9 +41,10 @@ annotated_text field with keyword multi-field:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down Expand Up @@ -72,9 +74,10 @@ multiple values in stored annotated_text field:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down Expand Up @@ -102,9 +105,10 @@ multiple values in annotated_text field with keyword multi-field:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down Expand Up @@ -135,9 +139,10 @@ multiple values in annotated_text field with stored keyword multi-field:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down Expand Up @@ -169,9 +174,10 @@ multiple values in stored annotated_text field with keyword multi-field:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down Expand Up @@ -202,9 +208,10 @@ fallback synthetic source:
indices.create:
index: test
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
annotated_text:
type: annotated_text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@ setup:
indices.create:
index: test_synthetic_source
body:
settings:
index:
mapping.source.mode: synthetic
mappings:
_source:
mode: synthetic
properties:
foo:
type: keyword
Expand Down
Loading