OpenSearch/modules
Jake Landis 797d6b8a66
Execute ingest node pipeline before creating the index (#39607) (#39796)
Prior to this commit (and after 6.5.0), if an ingest node changes
the _index in a pipeline, the original target index would be created.
For daily indexes this could create an extra, empty index per day.

This commit changes the TransportBulkAction to execute the ingest node
pipeline before attempting to create the index. This ensures that the 
only index created is the original or one set by the ingest node pipeline. 
This was the execution order prior to 6.5.0 (#32786). 

The execution order was changed in 6.5 to better support default pipelines. 
Specifically the execution order was changed to be able to read the settings
from the index meta data. This commit also includes a change in logic such 
that if the target index does not exist when ingest node pipeline runs, it 
will now pull the default pipeline (if one exists) from the settings of the 
best matched of the index template. 

Relates #32786
Relates #32758 
Closes #36545
2019-03-07 13:31:41 -06:00
..
aggs-matrix-stats Only create final MatrixStatsResults on final reduction (#39205) 2019-02-21 14:18:45 -05:00
analysis-common Remove `nGram` and `edgeNGram` token filter names (#39070) 2019-02-21 16:55:40 +01:00
ingest-common Execute ingest node pipeline before creating the index (#39607) (#39796) 2019-03-07 13:31:41 -06:00
ingest-geoip Bump jackson-databind version for ingest-geoip (#39182) 2019-02-20 11:40:31 -05:00
ingest-user-agent Make 7.x like 6.7 user agent ecs, but default to true (#38828) 2019-02-13 10:28:01 -06:00
lang-expression Upgrade to lucene 8.0.0-snapshot-ff9509a8df (#39444) 2019-02-27 14:36:08 +00:00
lang-mustache Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
lang-painless Use RestToXContentListener in painless execute action rest action. (#39638) 2019-03-05 08:55:32 +01:00
mapper-extras Backport distance functions vectors (#39330) 2019-02-23 11:52:43 -05:00
parent-join Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
percolator Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
rank-eval Use only default type in rank_eval API (#38530) 2019-02-11 10:18:13 +01:00
reindex fix RethrottleTests retry (#38978) (#39131) 2019-02-19 11:10:39 -08:00
repository-url Blob store compression fix (#39073) 2019-02-20 09:24:41 +01:00
transport-netty4 Chunk + Throttle Netty Writes (#39286) (#39778) 2019-03-07 07:24:08 +01:00
build.gradle Painless: Add spi jar that will be published for extending whitelists (#28302) 2018-01-18 19:16:26 -08:00