OpenSearch/modules
Martijn van Groningen c8031c6f99
Add data stream support to the reindex api. (#57970)
Backport of #57870 to 7.x branch.

This change now also copies the op_type from the reindex request's destination index request to the actual index request being used in the bulk request.

For ensuring no document exists, the op_type create doesn't need to be copied, since Versions.MATCH_DELETED will copied from the 'mainRequest.getDestination().version()'.
The `version()` method on IndexRequest only returns Versions.MATCH_DELETED if op_type=create and no specific version has been specified.

However in order to be able to index into a data stream, the op_type must be create. So in order to support that the op_type must be copied from the reindex request's destination index request to the actual index request being used in the bulk request.

Relates to #53100 and #57788
2020-06-12 09:54:37 +02:00
..
aggs-matrix-stats Make ValuesSourceConfig behave like a config object (#57762) (#58012) 2020-06-11 17:23:55 -04:00
analysis-common Support multiple tokens on LHS in stemmer_override rules (#56113) (#56484) 2020-05-29 22:34:31 +02:00
geo Add geo_shape mapper supporting doc-values in Spatial Plugin (#55037) (#55500) 2020-04-22 08:12:54 -07:00
ingest-common [7.x] Ensure Joni warning are logged at debug (#57302) (#57897) 2020-06-09 17:06:29 -05:00
ingest-geoip Upgrade to Jackson 2.10.4 (#56188) 2020-05-06 17:20:23 -04:00
ingest-user-agent Always use deprecateAndMaybeLog for deprecation warnings (#55319) 2020-04-23 09:20:54 +01:00
kibana Reintroduce system index APIs for Kibana (#54935) 2020-04-08 09:08:49 -06:00
lang-expression Update to lucene snapshot e7c625430ed (#57981) 2020-06-11 14:51:53 +01:00
lang-mustache [7.x] Rename template V2 classes to ComposableTemplate (#57183) (#57232) 2020-05-27 11:01:59 -06:00
lang-painless Backports for _source bug fix in scripting (#57068) 2020-05-21 17:07:38 -07:00
mapper-extras Refactor how to determine if a field is metafield (#57378) (#57771) 2020-06-08 09:16:18 -04:00
parent-join Make ValuesSourceConfig behave like a config object (#57762) (#58012) 2020-06-11 17:23:55 -04:00
percolator Refactor how to determine if a field is metafield (#57378) (#57771) 2020-06-08 09:16:18 -04:00
rank-eval Refactor how to determine if a field is metafield (#57378) (#57771) 2020-06-08 09:16:18 -04:00
reindex Add data stream support to the reindex api. (#57970) 2020-06-12 09:54:37 +02:00
repository-url Remove more //NORELEASE (#57517) 2020-06-05 15:34:06 +02:00
systemd Encapsulate systemd extender 2020-04-20 21:17:42 -04:00
tasks Reintroduce system index APIs for Kibana (#54935) 2020-04-08 09:08:49 -06:00
transport-netty4 Use clean thread context for transport and applier service (#57792) (#57914) 2020-06-10 10:30:28 +02:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00