Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
89d6873
[DOCS] Added missing definitions and edited for consistency. (#53519)
debadair Mar 13, 2020
7bc75f4
Upgrade to Jackson 2.10.3 and GeoIP2 to 2.13.1 (#53523)
jasontedor Mar 14, 2020
fa6d515
Remove extra code in allocation commands parsing (#53579)
jasontedor Mar 14, 2020
060b4ee
Revert "Upgrade to Jackson 2.10.3 and GeoIP2 to 2.13.1 (#53523)"
mark-vieira Mar 16, 2020
bd58052
Do not log no-op reconnections at DEBUG (#53469)
DaveCTurner Mar 16, 2020
a2a4756
New wildcard field optimised for wildcard queries (#49993)
markharwood Mar 16, 2020
340fcd1
Mute SnapshotLifecycleRestIT.testFullPolicySnapshot (#53588)
davidkyle Mar 16, 2020
01eee1a
Highlighters skip ignored keyword values (#53408)
mayya-sharipova Mar 16, 2020
eaa8ead
SQL: Fix issue with LIKE/RLIKE as painless script (#53495)
matriv Mar 16, 2020
7e0a3c4
[ML] Extend classification to support multiple classes (#53539)
dimitris-athanasiou Mar 16, 2020
ec3481e
SQL: Fix NPE for parameterized LIKE/RLIKE (#53573)
matriv Mar 16, 2020
4bfe288
Make classification evaluation metrics work when there is field mappi…
przemekwitek Mar 16, 2020
d6cd4ce
QL: constant_keyword support (#53241)
astefan Mar 16, 2020
f5f925c
Reenable tests and update version (#53556)
tveasey Mar 16, 2020
e8ed337
[DOCS] Reformat `remove_duplicates` token filter (#53608)
jrodewig Mar 16, 2020
887541e
Add Watcher to available rest resources (#53319)
jakelandis Mar 16, 2020
4f48e05
Revert "Add Watcher to available rest resources (#53319)"
jakelandis Mar 16, 2020
0f0091e
Disable Watcher script optimization for stored scripts (#53497)
spinscale Mar 16, 2020
f63295b
Remove CONSTANT_KEYWORD from LiteralTests.java (#53606)
astefan Mar 16, 2020
230a9a8
Improve top_metrics docs (#53521)
nik9000 Mar 16, 2020
3495239
Hide I/SLM history aliases (#53564)
gwbrown Mar 16, 2020
3b7843d
Fix sorting agg buckets by doc_count (#53617)
nik9000 Mar 16, 2020
4d81edb
Stop using round-tripped PipelineAggregators (#53423)
nik9000 Mar 16, 2020
c87da3e
[ML] Unmute a couple accidentally muted bwc tests for DF analytics (#…
dimitris-athanasiou Mar 16, 2020
4a5feab
[DOCS] Add anchors for scripted metric aggregations (#53618)
lcawl Mar 16, 2020
84a59f8
Add scripting, supported-type tests to ValueCount (#53500)
polyfractal Mar 16, 2020
f2f0fc0
Update skip before backport
nik9000 Mar 16, 2020
12e2485
[DOCS] Remove `force` as valid value for `version_type` (#53428)
Gunnerva Mar 16, 2020
2abf40a
Add server name to remote info API (#53634)
jasontedor Mar 17, 2020
87dc720
Update server name serialization version
jasontedor Mar 17, 2020
41e3b4a
Invoke response handler on failure to send (#53631)
jasontedor Mar 17, 2020
3608be6
Add internalClusterTest to check task (#53444)
rjernst Mar 17, 2020
b67863e
Explicitly require that derived API keys have no privileges (#53647)
ywangd Mar 17, 2020
f65e4d6
SQL: add support for index aliases for SYS COLUMNS command (#53525)
astefan Mar 17, 2020
ff94792
Shortcut query phase using the results of other shards (#51852)
jimczi Mar 17, 2020
68a698f
[Transform] add transform discovery node role (#53616)
Mar 17, 2020
3e607d9
Rename AtomicFieldData to LeafFieldData (#53554)
romseygeek Mar 17, 2020
1f439a2
Fix deprecation in history retention docs (#53655)
DaveCTurner Mar 17, 2020
3c25005
Update the Skip version in hidden index YAML tests (#53641)
gwbrown Mar 17, 2020
a295161
add tests to SumAggregatorTests (#53568)
andyb-elastic Mar 17, 2020
263e525
Add REST API for ComponentTemplate CRUD (#53558)
dakrone Mar 17, 2020
f0eeffc
Improve performance of docs snippet length checkstyle rule (#53636)
mark-vieira Mar 17, 2020
d63cda1
Upgrade jackson to 2.10.3 and GeoIP to 2.13.1 (#53642)
rjernst Mar 17, 2020
7a2d2ce
Drop Eclipse instructions (#53667)
nik9000 Mar 17, 2020
c2832f1
Remove link to old settings (#53638)
karenzone Mar 17, 2020
8c0f90e
[Transform] data nanos/date histogram IT (#53654)
Mar 17, 2020
fa6d197
[Transform] enhance the output of preview to return full desti… (#53572)
Mar 17, 2020
8ffe5d1
Support array for all string ingest processors
gaobinlong Mar 17, 2020
4913109
Add "grant_api_key" cluster privilege (#53527)
tvernum Mar 17, 2020
bb89c62
Fix potential bug in concurrent token refresh support (#53668)
jkakavas Mar 18, 2020
98c509a
[Transform] disable BWC as preparation for #53695 (#53696)
Mar 18, 2020
221b005
Make ML index aliases hidden (#53160)
przemekwitek Mar 18, 2020
baccbec
Mute failing test (#53709)
jkakavas Mar 18, 2020
3d2417c
[Transform] re-enable bwc (#53707)
Mar 18, 2020
f9cbc76
[Docs] Fix typo in range query (#53656)
jyash97 Mar 18, 2020
fe5092a
Deprecate delaying state recovery for master nodes (#53646)
ShawnLi1014 Mar 18, 2020
2a44c29
[Docs] Fix highlighting in match-query example (#52426)
rursprung Mar 18, 2020
0411627
Fix ReloadSynonymAnalyzerIT failure (#53663)
Mar 18, 2020
795a927
Remove deprecation warning when doc scripts refer to '_type' field (#…
romseygeek Mar 18, 2020
e1096b9
Restore off-heap loading for term dictionary in ReadOnlyEngine (#53713)
tlrx Mar 18, 2020
3a39ed0
[DOCS] Remove `light_bengali` stemmer (#53697)
jrodewig Mar 18, 2020
dfb779e
Mute testHistoryIsWrittenWithDeletion (#53719)
jkakavas Mar 18, 2020
de9e44f
Adapt serialization version checks in ShardSearchRequest (#53660)
jimczi Mar 18, 2020
110ff6c
Create GET _cat/transforms API Issue (#53643)
zacharymorn Mar 18, 2020
f2a2dcb
[DOCS] Streamline `analyzer` mapping parm def (#51874)
jrodewig Mar 18, 2020
6b5fc35
Increase step between checks for cancellation (#53712)
matriv Mar 18, 2020
9f0562b
Fix highlighter support in PinnedQuery and added test (#53716)
markharwood Mar 18, 2020
3ef3cc5
Add Watcher to available rest resources (#53620)
jakelandis Mar 18, 2020
afc2383
Optimize which Rest resources are used by the Rest tests. (#53299)
jakelandis Mar 18, 2020
534a4a9
Remove [removal-of-types] docs page, and point to 7x docs (#53670)
romseygeek Mar 18, 2020
e23311c
Make it possible to deprecate all variants of a ParseField with no re…
romseygeek Mar 18, 2020
97cf64f
[TEST] Replace agg key in async search yaml test (#53727)
javanna Mar 18, 2020
ddaf353
Use QueryVisitor when extracting PercolatorQuery list for highlightin…
romseygeek Mar 18, 2020
c89ba8a
[DOCS] Add temporary redirect for missing Component Template API docs…
jrodewig Mar 18, 2020
f605ec2
[DOCS] Adds stub for cat transform API (#53737)
lcawl Mar 18, 2020
a29a83e
Mute TimeSeriesLifecycleActionsIT (#53740)
jkakavas Mar 18, 2020
024deb4
Wildcard field docs formatting fix
markharwood Mar 18, 2020
d1cbdfb
Geo shape query vs geo point (#52382)
djptek Mar 18, 2020
022ad0a
Revert "Mute TimeSeriesLifecycleActionsIT (#53740)"
jkakavas Mar 18, 2020
c46e0f5
Mute failing tests (#53749)
jkakavas Mar 18, 2020
070ea7e
Scripting: Per-context script cache, default off (#52855)
stu-elastic Mar 18, 2020
03caeaa
[DOCS] Remove incorrect parms from put index template API docs (#53750)
jrodewig Mar 18, 2020
ddedb94
Add unsupported parameters to HLRC search request (#53745)
Mar 18, 2020
f26ccb2
Restore bwc tests (#53754)
jimczi Mar 18, 2020
9467dbf
Decouple AuditTrailService from AuditTrail (#53450)
rjernst Mar 18, 2020
36d8d84
Upgrade the bundled JDK to JDK 14 (#53748)
jasontedor Mar 18, 2020
73d2add
supported field type tests for max agg (#53701)
andyb-elastic Mar 18, 2020
6a04394
[ML] Register ML named writeables from ML plugin (#53757)
dimitris-athanasiou Mar 18, 2020
3dae2e9
[Transform] renamed _cat/transform to _cat/transforms (#53743)
benwtrent Mar 18, 2020
35ad630
[DOCS] Add transform nodes (#53698)
lcawl Mar 18, 2020
ca7a135
Improve performance of shards limits decider (#53577)
jasontedor Mar 19, 2020
a2b428f
Disable distributed sort optimization on scroll requests (#53759)
jimczi Mar 19, 2020
1dac8df
Fix NPE when logging null values in JSON (#53715)
pgomulka Mar 19, 2020
55535b6
[ML] Register ML featureset in XPackClientPlugin (#53772)
dimitris-athanasiou Mar 19, 2020
5c8cd16
TermsLookup uses ObjectParser for x-content parsing (#53733)
romseygeek Mar 19, 2020
7636930
Report parser name and location in XContent deprecation warnings (#53…
romseygeek Mar 19, 2020
8d5478f
[DOCS] Add token graph concept docs (#53339)
jrodewig Mar 19, 2020
c6cdd3a
Revert "Report parser name and location in XContent deprecation warni…
romseygeek Mar 19, 2020
6eb698b
Add support for distance queries on geo_shape queries (#53466)
iverase Mar 19, 2020
112ae9c
Add support for distance queries on shape queries (#53468)
iverase Mar 19, 2020
d47d74a
Fix feature flag setting for ComponentTemplate APIs (#53758)
dakrone Mar 19, 2020
c1dc523
Apply cluster states in system context (#53785)
DaveCTurner Mar 19, 2020
5732112
[DOCS] Changes seconds to milliseconds since the Epoch in AD docs. (#…
szabosteve Mar 19, 2020
f58680b
EQL: Add Substring function with Python semantics (#53688)
costin Mar 19, 2020
783df3f
[ML] only retry persistence failures when the failure is intermittent…
benwtrent Mar 19, 2020
0edfbd7
[DOCS] Adds example links to transform tutorial (#53640)
lcawl Mar 19, 2020
f2929fe
[DOCS] Adds performance considerations section to transforms overview…
szabosteve Mar 19, 2020
8279f82
[DOCS] Fixes typo in start datafeed API docs. (#53811)
szabosteve Mar 19, 2020
2ec1f6b
Fix testIndexhasDuplicateData tests (#49786)
mayya-sharipova Mar 19, 2020
2e617c3
Improve IntelliJ IDE integration (#53747)
mark-vieira Mar 19, 2020
dea6b7d
Add async_search.submit API to HLRC (#53592)
Mar 19, 2020
df79943
Add IndexTemplateV2 to MetaData (#53753)
dakrone Mar 19, 2020
7d77c2a
Disable BWC tests for IndexTemplateV2Metadata backport (#53830)
dakrone Mar 19, 2020
7485b72
Update minimally supported version for IndexTemplateV2Metadata (#53829)
dakrone Mar 19, 2020
c593c8b
Use boolean methods for allowed realm types in license state (#53456)
rjernst Mar 19, 2020
b873d8e
Make lucene snapshot repository exclusive to lucene packages (#53353)
rjernst Mar 19, 2020
c2ae78d
Fix Joda compatibility in stream protocol (#53823)
rjernst Mar 19, 2020
0e6d139
Enable assertions for IntelliJ junit test runner
mark-vieira Mar 19, 2020
64d228c
Re-enable BWC tests (#53833)
dakrone Mar 19, 2020
07eefa9
Clean up eclipse build (#53831)
nik9000 Mar 19, 2020
04aee0a
[ML] Data frame analytics analysis stats (#53788)
dimitris-athanasiou Mar 20, 2020
bd79cbb
[ML] Mute data frame analytics BWC tests (#53843)
dimitris-athanasiou Mar 20, 2020
8aee647
Longer Timeout in S3 Retries Test (#53841)
original-brownbear Mar 20, 2020
1204608
Initial data stream commit (#53666)
martijnvg Mar 20, 2020
bb582f1
Delete empty .ml-state* indices during nightly maintenance task. (#53…
przemekwitek Mar 20, 2020
7a1502d
[Docs] Fix typo in _analyze api docs (#53837)
iliguanghui Mar 20, 2020
76cd638
Revert "Apply cluster states in system context (#53785)" (#53842)
DaveCTurner Mar 20, 2020
2794ab7
Execute retention lease syncs under system context (#53838)
jasontedor Mar 20, 2020
561222b
Report parser name and location in XContent deprecation warnings (#53…
romseygeek Mar 20, 2020
687c888
[ML] Unmute DF analytics bwc tests and fix versions (#53850)
dimitris-athanasiou Mar 20, 2020
1443ba6
EQL: Extract query folder tests definitions into resources (#53802)
aleksmaus Mar 20, 2020
0a93a93
[DOCS] add docs for async search (#53675)
javanna Mar 20, 2020
634c8c6
Rethrow Failed Assertion in BlobStoreTestUtils (#53859)
original-brownbear Mar 20, 2020
a8c501b
[DOCS] Add redirects for missing data stream API docs (#53866)
jrodewig Mar 20, 2020
4a66397
Use consistent threadpools in CoordinatorTests (#53868)
DaveCTurner Mar 20, 2020
fc08349
[DOCS] correct async search note
javanna Mar 20, 2020
0f7cf7b
TermsLookup fields should be marked as Required in docs (#53784)
romseygeek Mar 20, 2020
1b5d64d
Fix random failures in InternalTopHitsTests#testReduceRandom (#53832)
imotov Mar 20, 2020
0bc8bb3
Add isHidden to AliasActions equals/hashcode (#53700)
gwbrown Mar 20, 2020
f31c6e9
Upgrade to Azure SDK 8.6.2 (#53865)
original-brownbear Mar 20, 2020
0dddfa4
[DOCS] Updates list of transform aggs (#53820)
lcawl Mar 20, 2020
065fc15
EQL: EqlActionIT improvements (#53780)
aleksmaus Mar 20, 2020
d864ee2
[DOCS] Clarify upgrade paths (#53417)
lucabelluccini Mar 20, 2020
3cf3f60
Mute submit-async-search-date-histogram-example test
mark-vieira Mar 20, 2020
f324394
Describe STALE_STATE_CONFIG in ClusterFormationFH (#53878)
DaveCTurner Mar 20, 2020
f8d4b0c
Scripting: Context script cache unlimited compile (#53769)
stu-elastic Mar 20, 2020
6332c40
Transition Transforms to using hidden indices for notifcations index …
gwbrown Mar 20, 2020
290d58b
Remove unnecessary fromValue method for ClusterHealthStatus (#53893)
rjernst Mar 20, 2020
984670b
Set feature flags for IndexTemplatesV2 and Data Streams in top… (#53897)
dakrone Mar 20, 2020
1b37d4b
Scripting: Increase ingest script cache defaults (#53765)
stu-elastic Mar 20, 2020
dc7e2ab
Fix StackOverflowError in CheckStyle for CRUDDocumentationIT (#53840)
original-brownbear Mar 21, 2020
13f5631
Introduce aarch64 packaging (#53914)
jasontedor Mar 21, 2020
e404249
Allow kibana_system to create and invalidate API keys on behalf of ot…
Mar 23, 2020
856721c
Handle properly indexing rectangles that crosses the dateline (#53810)
iverase Mar 23, 2020
75cb784
Allow static cluster.max_voting_config_exclusions (#53717)
DaveCTurner Mar 23, 2020
adcf25e
[ML] Refactor DFA custom processor to cross validation splitter (#53915)
dimitris-athanasiou Mar 23, 2020
c334b20
Get Async Search: omit _clusters section when empty (#53907)
javanna Mar 23, 2020
108f9ca
[DOCS] Adds painless transform examples (#53274)
szabosteve Mar 23, 2020
c829079
Only link fd* files during source-only snapshot (#53463)
ywelsch Mar 23, 2020
25d3912
Fix Azure Repository with HTTPs Endpoint (#53903)
original-brownbear Mar 23, 2020
23cccf0
Use Azure Bulk Deletes in Azure Repository (#53919)
original-brownbear Mar 23, 2020
1df7382
[DOCS] Note doc links should be live in REST API JSON specs (#53871)
jrodewig Mar 23, 2020
2dc7950
SQL: Extend DATE_TRUNC to also operate on intervals(elastic - #46632 …
Mar 23, 2020
1af0417
Async search: remove version from response (#53960)
javanna Mar 23, 2020
b1f4f32
Async Search: replicas to auto expand from 0 to 1 (#53964)
javanna Mar 23, 2020
d56d2cf
Upgrade to AWS SDK 1.11.749 (#53962)
original-brownbear Mar 23, 2020
abcee01
adjusted skip version (#53969)
martijnvg Mar 23, 2020
aa56f91
[DOCS] address timing issue in async search docs tests (#53910)
javanna Mar 23, 2020
87c910b
Better Incrementality for Snapshots of Unchanged Shards (#52182)
original-brownbear Mar 23, 2020
face375
/_cat/shards support path stats (#53461)
weizijun Mar 23, 2020
3ceb60b
Add async_search get and delete APIs to HLRC (#53828)
Mar 23, 2020
b2a6bd8
lang-expressions should use DoubleValuesSource, not ValueSource (#53661)
romseygeek Mar 23, 2020
0ad4f52
Increase ensureGreen() timeout in CloseWhileRelocatingShardsIT (#53981)
tlrx Mar 23, 2020
9ccae92
Merge branch 'master' into vs-refactor-2020-03-23-conflict-resolution
not-napoleon Mar 23, 2020
975d4f5
Don't include HLRC on downstream classpath twice (#53983)
mark-vieira Mar 23, 2020
1ca52fc
Try to save memory on aggregations (#53793)
nik9000 Mar 23, 2020
8264bdd
Revert "Introduce system index APIs for Kibana (#52385)" (#53912)
rjernst Mar 23, 2020
34feb3c
[DOCS] Clarify routing enforcement in docs (#53945)
cjcjameson Mar 23, 2020
78f473d
[ML] Fix typo in outlier detection timing stats (#53988)
dimitris-athanasiou Mar 23, 2020
7665993
[ML] Delete DF analytics stats upon job deletion (#53933)
dimitris-athanasiou Mar 23, 2020
bad7580
[DOCS] Add generated_dest_index to preview transform API (#53905)
lcawl Mar 23, 2020
0ea4324
[DOCS] Adds data nanos transform limitation (#53826)
lcawl Mar 23, 2020
ea33795
[DOCS] Fixes formatting in transform overview (#53900)
lcawl Mar 23, 2020
de1229c
[DOCS] link fix (#53973)
immon Mar 23, 2020
b9c2604
fix semantic merge conflicts
not-napoleon Mar 23, 2020
f783670
Verify that the field is aggregatable before attempting cardinality a…
przemekwitek Mar 23, 2020
20d861c
Add logging and enable testQueryRewrite (#53809)
mayya-sharipova Mar 23, 2020
04bd154
Add heuristics to compute pre_filter_shard_size when unspecified (#53…
jimczi Mar 23, 2020
8d4ff29
Add nori_number token filter in analysis-nori (#53583)
danmuzi Mar 23, 2020
ffbb558
Re-enable bwc tests disabled from #53912 (#54001)
rjernst Mar 23, 2020
569dffc
Move pipeline agg validation to coordinating node (#53669)
nik9000 Mar 23, 2020
2a99f4e
[ML] adjusting feature importance mapping for multi-class support (#5…
benwtrent Mar 23, 2020
cdc377e
Reduce performance impact of ExitableDirectoryReader (#53978)
matriv Mar 23, 2020
4af4eb9
Introduce aarch64 Docker image (#53936)
jasontedor Mar 23, 2020
0d7b4ee
Fix typo in jdk-download testKit build.gradle
jasontedor Mar 23, 2020
91462ee
Fix aarch64 OSS archive packaging
jasontedor Mar 23, 2020
7161bd4
Remove the top-level 'mapping type' section. (#53374)
jtibshirani Mar 23, 2020
e98b9c0
Add scripting, unmapped, supported-type tests to Boxplot (#53435)
polyfractal Mar 23, 2020
da9273a
[Transform][Rollup] add processing stats to record the time sp… (#53770)
Mar 23, 2020
ec4c699
Prevent SigTerms/SigText from running on fields they do not support (…
polyfractal Mar 23, 2020
1016e20
Prepare to backport #53793 (#54010)
nik9000 Mar 23, 2020
6ded7f0
Add VST for wildcard field
not-napoleon Mar 23, 2020
586f4b7
Clarify IntelliJ import instructions
mark-vieira Mar 23, 2020
ecdbd37
Refactor global build info plugin to leverage JavaInstallationRegistr…
mark-vieira Mar 23, 2020
756a297
[ML] adds multi-class feature importance support (#53803)
benwtrent Mar 23, 2020
9b47ac7
Use deprecation logger holder in byte size value (#53928)
jasontedor Mar 23, 2020
747a164
[DOCS] Fix "letter case" typo
jrodewig Mar 23, 2020
0a35f39
[DOCS] Remove double space in WDG docs
jrodewig Mar 23, 2020
39785eb
[ML] Data frame analytics data counts (#53998)
dimitris-athanasiou Mar 23, 2020
ba431a0
Fix classifier on OSS Linux aarch64 archive
jasontedor Mar 23, 2020
c5d0731
Give helpful message on remote connections disabled (#53690)
jasontedor Mar 23, 2020
83e82d3
Merge analyze and write phases in Painless "user" tree (#53685)
jdconrad Mar 23, 2020
0bce5d2
Reenable BWC tests after backport of #53793 (#54018)
nik9000 Mar 23, 2020
d0cd387
Remove ceremony declaring aggs (#53990)
nik9000 Mar 23, 2020
1ec3127
Prepare to backport #53873 (#54040)
nik9000 Mar 24, 2020
50e8136
adapt version after backport (#54009)
jimczi Mar 24, 2020
408311d
add tests to StatsAggregatorTests (#53768)
andyb-elastic Mar 24, 2020
f39aa75
Use onlyIf for build Docker image task execution (#54047)
jasontedor Mar 24, 2020
94e81b0
Introduce autoscaling decisions (#53934)
jasontedor Mar 24, 2020
7989d67
Deprecate alternatives to the hot threads API (#52930)
muachilin Mar 24, 2020
b56b9fb
Mute BlobStoreIncrementalityIT.testIncrementalBehaviorOnPrimaryFailover
mark-vieira Mar 23, 2020
4ff4233
Fix nasty errors when importing into IntelliJ
mark-vieira Mar 24, 2020
20736b2
Add remote debug run configuration for IntelliJ
mark-vieira Mar 24, 2020
f9526f9
Add supported-type tests to avg aggregation (#54011)
csoulios Mar 24, 2020
d046489
Validate role templates before saving role mapping (#52636)
ywangd Mar 24, 2020
6b5752a
Re-enable bwc tests (#54045)
jimczi Mar 24, 2020
894714e
[Transform] add another reason for disabling BWC (#54054)
Mar 24, 2020
f4bdcd9
[ML] Mute data frame analytics BWC tests (#54030)
dimitris-athanasiou Mar 24, 2020
ff067e1
Fix BlobStoreIncrementalityIT (#54055)
original-brownbear Mar 24, 2020
9a64ae0
Mute IndicesRequestCacheIT#testQueryRewrite
albertzaharovits Mar 24, 2020
5e637c4
Add supported type tests to min aggregation (#54021)
csoulios Mar 24, 2020
2537e02
Wildcard field - add normalizer support (#53851)
markharwood Mar 24, 2020
077ffa2
[Transform ] reenable BWC after backport (#54061)
Mar 24, 2020
cbe063a
[ML] Introduce a "starting" datafeed state for lazy jobs (#53918)
Mar 24, 2020
4cf1d1a
[ML] No refresh on indexing DFA stats (#53977)
dimitris-athanasiou Mar 24, 2020
3ef69ad
[ML] Unmute DFA bwc tests after backport of #53998 (#54063)
dimitris-athanasiou Mar 24, 2020
aed8ce7
Cluster state and CRUD operations for data streams (#53877)
danhermann Mar 24, 2020
68f4297
Improve async search's tasks cancellation (#53799)
jimczi Mar 24, 2020
36377d7
Add validation for component templates (#54023)
probakowski Mar 24, 2020
04c21af
Clean up IndexTemplateMetaData xcontent serialization (#54003)
romseygeek Mar 24, 2020
b5db965
SQL: jdbc debugging enhancement (#53880)
astefan Mar 24, 2020
9927864
Use the new ML state index name (.ml-state-000001) instead of the leg…
przemekwitek Mar 24, 2020
609b064
Wait for Active license before running CCR API tests (#53966)
tlrx Mar 24, 2020
c1d8341
Add SAML IdP plugin for internal use (#54046)
tvernum Mar 24, 2020
8ee2ee5
Revert "Clean up IndexTemplateMetaData xcontent serialization (#54003)"
romseygeek Mar 24, 2020
a371113
Upgrade to lucene 8.5.0 release (#54077)
romseygeek Mar 24, 2020
c576488
[DOCS] Replace outdated Logstash monitoring link (#54032)
karenzone Mar 24, 2020
85b1c11
Merge branch 'master' into vs-refactor-2020-03-23-conflict-resolution
not-napoleon Mar 24, 2020
0eea6e2
add new VSTs to tests
not-napoleon Mar 24, 2020
7560542
add VST for Wildcard field
not-napoleon Mar 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
*.ipr
*.iws
build-idea/
out/

# include shared intellij config
!.idea/scopes/x_pack.xml
!.idea/inspectionProfiles/Project_Default.xml
!.idea/runConfigurations/Debug_Elasticsearch.xml

# These files are generated in the main tree by IntelliJ
benchmarks/src/main/generated/*

Expand Down
9 changes: 9 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/Debug_Elasticsearch.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/scopes/x_pack.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

115 changes: 28 additions & 87 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,14 @@ be used to test against other JDKs as well, this is not only limited to JDK 11.
> Note: It is also required to have `JAVA8_HOME`, `JAVA9_HOME`, `JAVA10_HOME`
and `JAVA11_HOME`, and `JAVA12_HOME` available so that the tests can pass.

> Warning: do not use `sdkman` for Java installations which do not have proper
`jrunscript` for jdk distributions.

Elasticsearch uses the Gradle wrapper for its build. You can execute Gradle
using the wrapper via the `gradlew` script on Unix systems or `gradlew.bat`
script on Windows in the root of the repository. The examples below show the
usage on Unix.

We support development in the Eclipse and IntelliJ IDEs.
For Eclipse, the minimum version that we support is [4.13][eclipse].
For IntelliJ, the minimum version that we support is [IntelliJ 2017.2][intellij].
We support development in IntelliJ versions IntelliJ 2019.2 and
onwards. We would like to support Eclipse, but few of us use it and has fallen
into [disrepair][eclipse].

[Docker](https://docs.docker.com/install/) is required for building some Elasticsearch artifacts and executing certain test suites. You can run Elasticsearch without building all the artifacts with:

Expand All @@ -123,48 +120,21 @@ You can access Elasticsearch with:

curl -u elastic:password localhost:9200

### Configuring IDEs And Running Tests

Eclipse users can automatically configure their IDE: `./gradlew eclipse`
then `File: Import: Gradle : Existing Gradle Project`.
Additionally you will want to ensure that Eclipse is using 2048m of heap by modifying
`eclipse.ini` accordingly to avoid GC overhead and OOM errors.

IntelliJ users can automatically configure their IDE: `./gradlew idea`
then `File->New Project From Existing Sources`. Point to the root of
the source directory, select
`Import project from external model->Gradle`, enable
`Use auto-import`. In order to run tests directly from
IDEA 2017.2 and above, it is required to disable the IDEA run launcher in order to avoid
`idea_rt.jar` causing "jar hell". This can be achieved by adding the
`-Didea.no.launcher=true` [JVM
option](https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties).
Alternatively, `idea.no.launcher=true` can be set in the
[`idea.properties`](https://www.jetbrains.com/help/idea/file-idea-properties.html)
file which can be accessed under Help > Edit Custom Properties (this will require a
restart of IDEA). For IDEA 2017.3 and above, in addition to the JVM option, you will need to go to
`Run->Edit Configurations->...->Defaults->JUnit` and verify that the `Shorten command line` setting is set to
`user-local default: none`. You may also need to [remove `ant-javafx.jar` from your
classpath](https://github.com/elastic/elasticsearch/issues/14348) if that is
reported as a source of jar hell.

To run an instance of elasticsearch from the source code run `./gradlew run`

The Elasticsearch codebase makes heavy use of Java `assert`s and the
test runner requires that assertions be enabled within the JVM. This
can be accomplished by passing the flag `-ea` to the JVM on startup.

For IntelliJ, go to
`Run->Edit Configurations...->Defaults->JUnit->VM options` and input
`-ea`.

For Eclipse, go to `Preferences->Java->Installed JREs` and add `-ea` to
`VM Arguments`.

Some tests related to locale testing also require the flag
`-Djava.locale.providers` to be set. Set the VM options/VM arguments for
IntelliJ or Eclipse like describe above to use
`-Djava.locale.providers=SPI,COMPAT`.
### Importing the project into IntelliJ IDEA

Elasticsearch builds using Java 13. When importing into IntelliJ you will need
to define an appropriate SDK. The convention is that **this SDK should be named
"13"** so that the project import will detect it automatically. For more details
on defining an SDK in IntelliJ please refer to [their documentation](https://www.jetbrains.com/help/idea/sdk.html#define-sdk).
SDK definitions are global, so you can add the JDK from any project, or after
project import. Importing with a missing JDK will still work, IntelliJ will
simply report a problem and will refuse to build until resolved.

You can import the Elasticsearch project into IntelliJ IDEA via:

- Select **File > Open**
- In the subsequent dialog navigate to the root `build.gradle` file
- In the subsequent dialog select **Open as Project**

### REST Endpoint Conventions

Expand Down Expand Up @@ -212,14 +182,7 @@ Please follow these formatting guidelines:
part of a file. Please format such sections sympathetically with the rest
of the code, while keeping lines to maximum length of 76 characters.
* Wildcard imports (`import foo.bar.baz.*`) are forbidden and will cause
the build to fail. This can be done automatically by your IDE:
* Eclipse: `Preferences->Java->Code Style->Organize Imports`. There are
two boxes labeled "`Number of (static )? imports needed for .*`". Set
their values to 99999 or some other absurdly high value.
* IntelliJ: `Preferences/Settings->Editor->Code Style->Java->Imports`.
There are two configuration options: `Class count to use import with
'*'` and `Names count to use static import with '*'`. Set their values
to 99999 or some other absurdly high value.
the build to fail.
* If *absolutely* necessary, you can disable formatting for regions of code
with the `// tag::NAME` and `// end::NAME` directives, but note that
these are intended for use in documentation, so please make it clear what
Expand All @@ -234,9 +197,6 @@ Please follow these formatting guidelines:

#### Editor / IDE Support

Eclipse IDEs can import the file [.eclipseformat.xml]
directly.

IntelliJ IDEs can
[import](https://blog.jetbrains.com/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/)
the same settings file, and / or use the [Eclipse Code
Expand Down Expand Up @@ -393,26 +353,9 @@ It is important that the only code covered by the Elastic licence is contained
within the top-level `x-pack` directory. The build will fail its pre-commit
checks if contributed code does not have the appropriate license headers.

You may find it helpful to configure your IDE to automatically insert the
appropriate license header depending on the part of the project to which you are
contributing.

#### IntelliJ: Copyright & Scope Profiles

To have IntelliJ insert the correct license, it is necessary to create to copyright profiles.
These may potentially be called `apache2` and `commercial`. These can be created in
`Preferences/Settings->Editor->Copyright->Copyright Profiles`. To associate these profiles to
their respective directories, two "Scopes" will need to be created. These can be created in
`Preferences/Settings->Appearances & Behavior->Scopes`. When creating scopes, be sure to choose
the `shared` scope type. Create a scope, `apache2`, with
the associated pattern of `!file[group:x-pack]:*/`. This pattern will exclude all the files contained in
the `x-pack` directory. The other scope, `commercial`, will have the inverse pattern of `file[group:x-pack]:*/`.
The two scopes, together, should account for all the files in the project. To associate the scopes
with their copyright-profiles, go into `Preferences/Settings->Editor>Copyright` and use the `+` to add
the associations `apache2/apache2` and `commercial/commercial`.

Configuring these options in IntelliJ can be quite buggy, so do not be alarmed if you have to open/close
the settings window and/or restart IntelliJ to see your changes take effect.
> **NOTE:** If you have imported the project into IntelliJ IDEA the project will
> be automatically configured to add the correct license header to new source
> files based on the source location.

### Creating A Distribution

Expand All @@ -425,7 +368,7 @@ cd elasticsearch/
To build a darwin-tar distribution, run this command:

```sh
./gradlew -p distribution/archives/darwin-tar assemble --parallel
./gradlew -p distribution/archives/darwin-tar assemble
```

You will find the distribution under:
Expand All @@ -435,9 +378,12 @@ To create all build artifacts (e.g., plugins and Javadocs) as well as
distributions in all formats, run this command:

```sh
./gradlew assemble --parallel
./gradlew assemble
```

> **NOTE:** Running the task above will fail if you don't have a available
> Docker installation.

The package distributions (Debian and RPM) can be found under:
`./distribution/packages/(deb|rpm|oss-deb|oss-rpm)/build/distributions/`

Expand Down Expand Up @@ -570,10 +516,6 @@ known as "transitive" dependencies".</dd>
should not be shipped with the project because it is "provided" by the runtime
somehow. Elasticsearch plugins use this configuration to include dependencies
that are bundled with Elasticsearch's server.</dd>
<dt>`bundle`</dt><dd>Only available in projects with the shadow plugin,
dependencies with this configuration are bundled into the jar produced by the
build. Since IDEs do not understand this configuration we rig them to treat
dependencies in this configuration as `compile` dependencies.</dd>
<dt>`testCompile`</dt><dd>Code that is on the classpath for compiling tests
that are part of this project but not production code. The canonical example
of this is `junit`.</dd>
Expand Down Expand Up @@ -608,6 +550,5 @@ Finally, we require that you run `./gradlew check` before submitting a
non-documentation contribution. This is mentioned above, but it is worth
repeating in this section because it has come up in this context.

[eclipse]: https://download.eclipse.org/eclipse/downloads/drops4/R-4.13-201909161045/
[intellij]: https://blog.jetbrains.com/idea/2017/07/intellij-idea-2017-2-is-here-smart-sleek-and-snappy/
[shadow-plugin]: https://github.com/johnrengelman/shadow
[eclipse]: https://github.com/elastic/elasticsearch/issues/53664
10 changes: 7 additions & 3 deletions TESTING.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ To create a platform-specific build including the x-pack modules, use the
following depending on your operating system:

-----------------------------
./gradlew :distribution:archives:linux-tar:assemble --parallel
./gradlew :distribution:archives:darwin-tar:assemble --parallel
./gradlew :distribution:archives:windows-zip:assemble --parallel
./gradlew :distribution:archives:linux-tar:assemble
./gradlew :distribution:archives:darwin-tar:assemble
./gradlew :distribution:archives:windows-zip:assemble
-----------------------------

=== Running Elasticsearch from a checkout
Expand Down Expand Up @@ -51,6 +51,10 @@ recommended to configure the IDE to initiate multiple listening attempts. In cas
is called "Auto restart" and needs to be checked. In case of Eclipse, "Connection limit" setting
needs to be configured with a greater value (ie 10 or more).

NOTE: If you have imported the project into IntelliJ according to the instructions in
link:/CONTRIBUTING.md#importing-the-project-into-intellij-idea[CONTRIBUTING.md] then a debug run configuration
named "Debug Elasticsearch" will be created for you and configured appropriately.

==== Distribution

By default a node is started with the zip distribution.
Expand Down
64 changes: 31 additions & 33 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@
* under the License.
*/


import com.avast.gradle.dockercompose.tasks.ComposePull
import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin
import de.thetaphi.forbiddenapis.gradle.ForbiddenApisPlugin
import org.apache.tools.ant.taskdefs.condition.Os
import org.elasticsearch.gradle.BuildPlugin
import org.elasticsearch.gradle.BwcVersions
import org.elasticsearch.gradle.Version
import org.elasticsearch.gradle.VersionProperties
import org.elasticsearch.gradle.plugin.PluginBuildPlugin
import org.gradle.plugins.ide.eclipse.model.AccessRule
import org.gradle.plugins.ide.eclipse.model.SourceFolder
import org.gradle.util.DistributionLocator
import org.gradle.util.GradleVersion

import static org.elasticsearch.gradle.tool.Boilerplate.maybeConfigure
import static org.elasticsearch.gradle.util.GradleUtils.maybeConfigure

plugins {
id 'lifecycle-base'
Expand All @@ -43,6 +44,7 @@ apply plugin: 'nebula.info-scm'
apply from: 'gradle/build-scan.gradle'
apply from: 'gradle/build-complete.gradle'
apply from: 'gradle/runtime-jdk-provision.gradle'
apply from: 'gradle/ide.gradle'

// common maven publishing configuration
allprojects {
Expand Down Expand Up @@ -180,7 +182,6 @@ allprojects {
System.getProperty("eclipse.application") != null || // Detects gradle launched from the Eclipse compiler server
gradle.startParameter.taskNames.contains('eclipse') || // Detects gradle launched from the command line to do eclipse stuff
gradle.startParameter.taskNames.contains('cleanEclipse')
isIdea = System.getProperty("idea.active") != null || gradle.startParameter.taskNames.contains('idea') || gradle.startParameter.taskNames.contains('cleanIdea')

// for BWC testing
bwcVersions = versions
Expand Down Expand Up @@ -356,36 +357,6 @@ gradle.projectsEvaluated {
}
}

// intellij configuration
allprojects {
apply plugin: 'idea'

if (isIdea) {
project.buildDir = file('build-idea')
}
idea {
module {
inheritOutputDirs = false
outputDir = file('build-idea/classes/main')
testOutputDir = file('build-idea/classes/test')

// also ignore other possible build dirs
excludeDirs += file('build')
excludeDirs += file('build-eclipse')
}
}

tasks.named('cleanIdea') {
delete 'build-idea'
}
}

idea {
project {
vcs = 'Git'
}
}

// eclipse configuration
allprojects {
apply plugin: 'eclipse'
Expand All @@ -408,6 +379,21 @@ allprojects {
}
}
}
/*
* Allow accessing com/sun/net/httpserver in projects that have
* configured forbidden apis to allow it.
*/
plugins.withType(ForbiddenApisPlugin) {
eclipse.classpath.file.whenMerged { classpath ->
if (false == forbiddenApisTest.bundledSignatures.contains('jdk-non-portable')) {
classpath.entries
.findAll { it.kind == "con" && it.toString().contains("org.eclipse.jdt.launching.JRE_CONTAINER") }
.each {
it.accessRules.add(new AccessRule("accessible", "com/sun/net/httpserver/*"))
}
}
}
}

File licenseHeaderFile
String prefix = ':x-pack'
Expand Down Expand Up @@ -559,3 +545,15 @@ allprojects {
}
}
}

// TODO: remove this once 7.7 is released and the 7.x branch is 7.8
subprojects {
pluginManager.withPlugin('elasticsearch.testclusters') {
testClusters.all {
if (org.elasticsearch.gradle.info.BuildParams.isSnapshotBuild() == false) {
systemProperty 'es.itv2_feature_flag_registered', 'true'
systemProperty 'es.datastreams_feature_flag_registered', 'true'
}
}
}
}
2 changes: 2 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ if (project != rootProject) {
distribution project(':distribution:archives:oss-windows-zip')
distribution project(':distribution:archives:darwin-tar')
distribution project(':distribution:archives:oss-darwin-tar')
distribution project(':distribution:archives:linux-aarch64-tar')
distribution project(':distribution:archives:linux-tar')
distribution project(':distribution:archives:oss-linux-tar')
distribution project(':distribution:archives:oss-linux-aarch64-tar')
}

// for external projects we want to remove the marker file indicating we are running the Elasticsearch project
Expand Down
Loading