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

Rebase from fork #2

Merged
merged 656 commits into from
Jul 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
656 commits
Select commit Hold shift + click to select a range
b08ba28
[Docs] Remove boost parameter from intervals-query example (#43331)
Jun 20, 2019
e6ea812
Adapt BWC conditions after backport of #43205
ywelsch Jun 20, 2019
c3f0e87
[ML] Unmute NetworkDisruptionIT.testJobRelocation (#43268)
davidkyle Jun 20, 2019
81143cb
Reduce shard started failure logging (#43330)
ywelsch Jun 20, 2019
5eb807b
Fix testGlobalCheckpointSync
ywelsch Jun 20, 2019
7763921
Docs: Add description of the coerce parameter in geo_shape mapper (#4…
imotov Jun 20, 2019
e250973
Fail connection attempts earlier in tests (#43320)
DaveCTurner Jun 20, 2019
21feeb0
Mute test NetworkDisruptionIT.testJobRelocation
davidkyle Jun 20, 2019
f45cf90
Remove Confusing Comment (#43400)
synical Jun 20, 2019
2e24f09
[DOCS] Describe setup for monitoring logs (#42655)
lcawl Jun 20, 2019
2f9e8a8
Mute put-transform docs test
davidkyle Jun 20, 2019
f3ed2bd
[DOCS] Add brew install instructions. Closes #42914 (#42915)
debadair Jun 20, 2019
28b9412
Better support for unmapped fields in AggregatorTestCase (#43405)
polyfractal Jun 20, 2019
d7d5e2f
Adapt local checkpoint assertion
ywelsch Jun 20, 2019
b505305
Remove old Painless doc generator (#43404)
jdconrad Jun 20, 2019
008430a
Increase timeout for assertSeqNos
ywelsch Jun 20, 2019
1ad8af1
Added parsing of erroneous field value (#42321)
sandmannn Jun 20, 2019
19c253c
[DOCS] Fixed path to install directory. (#43443)
debadair Jun 20, 2019
0b48f04
Log Blocked IO Thread State (#43424)
original-brownbear Jun 20, 2019
2c8e9ae
Add painless method getByPath, get value from nested collections with…
stu-elastic Jun 20, 2019
d0984db
[DOCS] Added blurb & link to Elasticsearch Service. (#43452)
debadair Jun 20, 2019
215fc4c
Fix round up of date range without rounding (#43303)
jimczi Jun 20, 2019
bb04837
[DOCS] Updated the URL for starting in the cloud.
debadair Jun 20, 2019
f879e84
Clarify unsupported secure settings behavior (#43454)
rjernst Jun 20, 2019
1df6748
Reduce TestLogging usage in DisruptionIT tests (#43411)
DaveCTurner Jun 21, 2019
e8ea831
Make Recovery API support `detailed` params (#29076)
PnPie Jun 21, 2019
1765b38
Change BWC condition after backporting #29076
ywelsch Jun 21, 2019
bfce0f6
SecurityIndexSearcherWrapper doesn't always carry over caches and sim…
s1monw Jun 21, 2019
71c8d24
Remove types exist action (#43344)
javanna Jun 21, 2019
56036bb
Resolve NetworkDisruptionIT (#43441)
davidkyle Jun 21, 2019
ade8766
[ML][Data Frame] Add version and create_time to transform config (#43…
benwtrent Jun 21, 2019
99957a8
Fix DefaultShardOperationFailedException subclass xcontent serializat…
Jun 21, 2019
4fcb951
Example of how to set slow logs dynamically per-index (#42384)
luizgpsantos Jun 21, 2019
0545a00
Recursively Delete Unreferenced Index Directories (#42189)
original-brownbear Jun 21, 2019
c1c2ce3
Simplify BlobStoreRepository (Flatten Nested Classes) (#42833)
original-brownbear Jun 21, 2019
48aa716
Assert ServerSocketChannel is not Blocking (#43479)
original-brownbear Jun 21, 2019
97f70c5
[DOCS] Rewrite term-level queries overview (#43337)
jrodewig Jun 21, 2019
086c330
[DOCS] Rewrite `constant_score` query (#43374)
jrodewig Jun 21, 2019
8e3b2c8
[ML][Data Frame] fixing some data frame hlrc tests (#43446)
benwtrent Jun 21, 2019
b714c2e
Remove aliases exist action (#43430)
javanna Jun 21, 2019
6612c74
Mute failing test
mark-vieira Jun 21, 2019
d96900f
Mute LicenseDocumentationIT#testGetLicense (#43505)
gwbrown Jun 21, 2019
52de0c7
Account for node versions during allocation in ILM Shrink (#43300)
gwbrown Jun 21, 2019
3290452
Don't Consistency Check Broken Repository in Test (#43499)
original-brownbear Jun 22, 2019
45733fd
UserRoleMapper.UserData non-null groups and metadata (#41774)
albertzaharovits Jun 23, 2019
70839bf
Cleanup legacy logic in CombinedDeletionPolicy (#43484)
dnhatn Jun 23, 2019
44ea7dc
Replace Streamable w/ Writable in AcknowledgedResponse and subclasses…
martijnvg Jun 24, 2019
0597e66
Fix the bundled jdk flag to be passed through windows startup (#43502)
rjernst Jun 24, 2019
f666cee
Use transport actions instead of guice for xpack info (#43449)
rjernst Jun 24, 2019
4c8f089
Clarify storage location of ML Snapshots (#43437)
m-adams Jun 24, 2019
85e17af
Improove error on waiting for cluster to come up (#43416)
alpar-t Jun 24, 2019
01923ae
Test clusters: convert x-pack qa tests (#43283)
alpar-t Jun 24, 2019
893c50f
Assert that NOOPs must succeed (#43483)
ywelsch Jun 24, 2019
119faee
Cleanup IndicesService#CacheCleaner Scheduling (#42060)
original-brownbear Jun 24, 2019
5e668ad
Add additional logging for #43034
ywelsch Jun 24, 2019
45e8d54
Do not hang on unsupported HTTP methods (#43362)
tlrx Jun 24, 2019
893785a
Move nio ip filter rule to be a channel handler (#43507)
Tim-Brooks Jun 24, 2019
cd1ed66
Fix testNoMasterActions (#43471)
andrershov Jun 24, 2019
1907065
[DOCS] Rename "job" to "transform" in data frame transform docs (#43534)
droberts195 Jun 24, 2019
ab7ca7f
Add annotations to Painless whitelist (#43239)
jdconrad Jun 24, 2019
b7d63b8
Add TimeValue.toHumanReadableString() to allow specifying frac… (#43346)
dakrone Jun 24, 2019
ae3c0df
Set document on script when using Bytes.WithScript (#43390)
polyfractal Jun 24, 2019
47d8131
Distribution download plugin cleanup (#43461)
rjernst Jun 24, 2019
0cfc9ff
Sync global checkpoint on pending in-sync shards (#43526)
ywelsch Jun 24, 2019
23ff9d4
[DOCS] Adds administering section (#43493)
lcawl Jun 24, 2019
5cbdd54
Fix score mode of the MinimumScoreCollector (#43527)
jimczi Jun 24, 2019
6c15c96
Fix CreateRepository Requeset in HLRC (#43522)
original-brownbear Jun 24, 2019
00334cc
Properly serialize remote query in ReindexRequest (#43457)
Tim-Brooks Jun 24, 2019
77fe937
Remove debug log in testOpenCloseApiWildcards
dnhatn Jun 24, 2019
db7731d
[DOCS] Edited title/subtitle. (#43552)
debadair Jun 24, 2019
86c1525
Enable Kerberos tests (#43519)
bizybot Jun 25, 2019
7054a42
Fix for PemTrustConfigTests.testTrustConfigReloadsFileContents failur…
bizybot Jun 25, 2019
f26f266
Extract TimingStats-related functionality into TimingStatsReporter (#…
przemekwitek Jun 25, 2019
b4f30cf
Get snapshots response example for the breaking change (#43475)
andrershov Jun 25, 2019
5fa36da
[ML] Machine learning data frame analytics (#43544)
dimitris-athanasiou Jun 25, 2019
3b87615
Make role descriptors optional when creating API keys (#43481)
bizybot Jun 25, 2019
666e3c0
Fix DieWithDignity logs assertion (#43543)
pgomulka Jun 25, 2019
9fcf03a
Fix testPostOperationGlobalCheckpointSync
ywelsch Jun 25, 2019
dd470e9
[ML] Improve message when native controller cannot connect (#43565)
droberts195 Jun 25, 2019
e0686aa
Fix DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode (#43537)
original-brownbear Jun 25, 2019
1e92d1a
[ML][Data Frame] Adjusting error message (#43455)
benwtrent Jun 25, 2019
4f6ec95
[ML][TEST] Refresh doc index in setup of test running df analytics
dimitris-athanasiou Jun 25, 2019
03e8734
Fix GET /_snapshot/_all/_all if there are no repos (#43558)
andrershov Jun 25, 2019
c184150
Default number of shards is now 1 instead of 5 (#43573)
Erni Jun 25, 2019
84a7b1c
[ML] Construct ML native controller in standard place (#43570)
droberts195 Jun 25, 2019
d640fb5
Fix search template request (#43509)
jdconrad Jun 25, 2019
2685d1e
[ML][TEST] Also refresh doc index in another df analytics test
dimitris-athanasiou Jun 25, 2019
05689de
Fixing backquote in fail_on_unsupported_field (#43572)
rbayet Jun 25, 2019
ba07eb4
Fix indices shown in _cat/indices (#43286)
tlrx Jun 25, 2019
e689b20
Add voting-only master node (#43410)
ywelsch Jun 25, 2019
01522ac
Fix failing LicensingDocumentationIT test (#43533)
alpar-t Jun 25, 2019
76ad7d8
[ML] Introduce a setting for the process connect timeout (#43234)
droberts195 Jun 25, 2019
2a8cb74
Disable testing conventions on Windows (#43532)
alpar-t Jun 25, 2019
05560c7
Testclusters: convert left-overs from checkPart1 (#43370)
alpar-t Jun 25, 2019
a814135
Add scripting support to AggregatorTestCase (#43494)
polyfractal Jun 25, 2019
e63e755
[DOCS] Add redirect for painless examples anchor
jrodewig Jun 25, 2019
00b114d
Fix merge issue between #43410 and #43449
ywelsch Jun 25, 2019
c78dfb7
include 7.2.1 as a version (#43584)
jakelandis Jun 25, 2019
f130695
Allow extra time for a warning to be logged (#43597)
DaveCTurner Jun 25, 2019
5f6321a
[DOCS] Rewrite `range` query (#43282)
jrodewig Jun 25, 2019
f83d8c2
Ensure relocation target still tracked when start handoff (#42201)
dnhatn Jun 26, 2019
1a77301
Adjust bwc assertion after backporting #42201
dnhatn Jun 26, 2019
d579f89
Remove guice modules from plugins (#43555)
rjernst Jun 26, 2019
017a231
Remove unused method not caught by merge
rjernst Jun 26, 2019
3ed3041
Reindex remote version lookup test refactor (#43576)
henningandersen Jun 26, 2019
ac3e4a6
Reindex remove outer level size (#43373)
henningandersen Jun 26, 2019
08a3549
Upgrade jcodings dependency to 1.0.44 (#43334)
spinscale Jun 26, 2019
7c3720a
Mute DiskDisruptionIT#testGlobalCheckpointIsSafe
davidkyle Jun 26, 2019
fc5ce18
Mute VotingOnlyNodeCoordinatorTests#testDoesNotElectVotingOnlyMasterNode
davidkyle Jun 26, 2019
3884cfb
[TEST] Wait for replicas before stopping nodes in ML distributed test…
droberts195 Jun 26, 2019
e737361
[ML][Data Frame] improve pivot nested field validations (#43548)
benwtrent Jun 26, 2019
9084418
[ML][Data Frame] Add support for allow_no_match for endpoints (#43490)
benwtrent Jun 26, 2019
9e2c049
Remove unreleased 7.1.2 version constant (#43629)
davidkyle Jun 26, 2019
a520a5d
Add prefix intervals source (#43635)
romseygeek Jun 26, 2019
f70dd1b
[ML][Data Frame] fixing tag end for df doc tests (#43640)
benwtrent Jun 26, 2019
1136a8b
[ML] Tag destination index with data frame metadata (#43567)
przemekwitek Jun 26, 2019
018a80b
Optimize Selector Wakeups (#43515)
original-brownbear Jun 26, 2019
3dc0c35
[Ml Data Frame] Size the GET stats search by number of Ids requested …
davidkyle Jun 26, 2019
3a7ebb0
Avoid AssertionError when closing engine (#43638)
ywelsch Jun 26, 2019
813fa97
Remove blank file
ywelsch Jun 26, 2019
516b4b9
Remove non task-aware version of master and node operations (#43563)
rjernst Jun 26, 2019
7deb952
[ML][Data Frame] adds tests for continuous DF (#43601)
benwtrent Jun 26, 2019
1594892
[DOCS] Change 'X-Pack APIs' section to 'REST APIs' (#43451)
jrodewig Jun 26, 2019
0d05ec4
[DOCS] Updates data frame APIs to use API template (#43610)
lcawl Jun 26, 2019
80fbe9c
Remove compile-time dependency on test fixtures (#43651)
mark-vieira Jun 26, 2019
f6bc4b1
Mute failing test
alpar-t Jun 27, 2019
98ed5e9
Make the ignore_above docs tests more robust. (#43349)
jtibshirani Jun 27, 2019
d2c696d
Require [articles] setting in elision filter (#43083)
romseygeek Jun 27, 2019
fbefb46
Use preconfigured filters correctly in Analyze API (#43568)
romseygeek Jun 27, 2019
6db8104
Remove Unused AWS KMS Dependency (#43671)
original-brownbear Jun 27, 2019
a4b97b6
Move query builder caching check to dedicated tests (#43238)
Jun 27, 2019
ed19edb
[ML][DataFrame] Consider data frame templates internal in REST tests …
droberts195 Jun 27, 2019
392245b
Remove preconfigured `delimited_payload_filter` (#43686)
romseygeek Jun 27, 2019
46c7cd9
Deduplicate two similar TimeUtils classes.
przemekwitek Jun 27, 2019
0a0eb97
Fix UOE on search requests that match a sparse role query (#43668)
jimczi Jun 27, 2019
b77a6fc
Fix propagation of enablePositionIncrements in QueryStringQueryBuilde…
jimczi Jun 27, 2019
a614415
Remove deprecated sort options: nested_path and nested_filter (#42809)
jimczi Jun 27, 2019
de2abe8
[ML] Don't write timing stats on no-op (#43680)
droberts195 Jun 27, 2019
29f5c2d
Handle situation where only voting-only nodes are bootstrapped (#43628)
ywelsch Jun 27, 2019
56ee1a5
Allow reloading of search time analyzers (#43313)
Jun 27, 2019
66e1853
[DOCS] Adds anchors and attributes to ML APIs
lcawl Jun 27, 2019
46d5d68
Add version and create_time to data frame analytics config (#43683)
przemekwitek Jun 27, 2019
25792d3
Remove nodeId from BaseNodeRequest (#43658)
rjernst Jun 27, 2019
8029b47
Geo: Makes coordinate validator in libs/geo plugable (#43657)
imotov Jun 27, 2019
c757737
[DOCS] Updates ML APIs to use new API template (#43711)
lcawl Jun 27, 2019
f1e3a8f
[DOCS] Adds data frame API response codes for allow_no_match (#43666)
lcawl Jun 27, 2019
6f5b3a6
Do not use MockInternalEngine in GatewayIndexStateIT (#43716)
dnhatn Jun 27, 2019
5566cd5
[ML] Allowing stopped status in HLRC testStartStop (#43710)
benwtrent Jun 27, 2019
9705164
[FEATURE][ML] Support multiple source indices for df-analytics (#43702)
dimitris-athanasiou Jun 28, 2019
04359a6
[ML] Rename outlier score setting to feature_influence_threshold (#43…
dimitris-athanasiou Jun 28, 2019
1a40777
[TEST][ML] Fix yml test failure for data_frame_analytics_crud
dimitris-athanasiou Jun 28, 2019
62d13e9
Remove rests of StandardHtmlStripAnalyzer (#43485)
Jun 28, 2019
b92de28
Enabled cannot be updated (#43701)
henningandersen Jun 28, 2019
f3317eb
Add support for 'flattened object' fields. (#42541)
jtibshirani Jun 28, 2019
623a5dd
[DOCS] Rewrite boosting query (#43647)
jrodewig Jun 28, 2019
89a3eb3
Wildcard intervals (#43691)
romseygeek Jun 28, 2019
d1ff981
[ML][Data Frame] removing format support (#43659)
benwtrent Jun 28, 2019
a46d779
Add missing dependencies so we can build in parallel (#43672)
alpar-t Jun 28, 2019
854215c
Testclusters: Convert additional projects (#43625)
alpar-t Jun 28, 2019
fd4eb96
Refactor IndexSearcherWrapper to disallow the wrapping of IndexSearch…
jimczi Jun 28, 2019
88c9ecb
Fix threshold spelling errors (#43326)
weizijun Jun 28, 2019
c900795
Trim translog for closed indices (#43156)
tlrx Jun 28, 2019
1f3a45c
Convert some action.execute cases to using NodeClient (#43715)
rjernst Jun 28, 2019
b490eab
[DOCS] Rewrite `terms_set` query (#43060)
jrodewig Jun 28, 2019
c042a10
Re-enable bwc tests (#43723)
rjernst Jun 28, 2019
75eb09e
[ML] Mark ml-cpp dependency as regularly changing (#43760)
droberts195 Jun 28, 2019
5ac7ec2
Migrate watcher hlrc response tests to use AbstractResponseTestCase (…
martijnvg Jun 28, 2019
e6444d3
Add StreamableResponseAction to aid in deprecation of Streamable (#43…
rjernst Jun 28, 2019
956b630
[ML] Rename df-analytics `_id_copy` to `ml__id_copy` (#43754)
dimitris-athanasiou Jun 29, 2019
c108b09
[ML] Assert that a no-op job creates no results nor state (#43681)
droberts195 Jun 29, 2019
cdfc986
Consistent Secure Settings (#40416)
albertzaharovits Jun 29, 2019
b33ffc1
Rename Action to ActionType (#43778)
rjernst Jun 29, 2019
a452fff
Make peer recovery clean files step async (#43787)
dnhatn Jun 29, 2019
72d0fd4
Reenable bwc tests after #40416 (#43794)
albertzaharovits Jun 30, 2019
b76d314
AsyncIOProcessor preserve thread context (#43729)
henningandersen Jun 30, 2019
448acea
Avoid parallel reroutes in DiskThresholdMonitor (#43381)
DaveCTurner Jun 30, 2019
9c0d670
[ML] Correct df-analytics version introduced to 7.3.0 (#43784)
dimitris-athanasiou Jun 30, 2019
562d798
Make peer recovery send file info step async (#43792)
dnhatn Jun 30, 2019
0fe62de
show a full ingest example in the index page, to let user fast unders…
weizijun Jul 1, 2019
d062fe9
Async IO Processor release before notify (#43682)
henningandersen Jul 1, 2019
6408f40
relax trigger count for transform stats test (#43753)
Jul 1, 2019
a3d3367
Testclusters: improove timeout handling (#43440)
alpar-t Jul 1, 2019
dfa882b
Switch WriteActionsTests.testBulk to use hamcrest (#43725)
tvernum Jul 1, 2019
324ee42
Add "manage_api_key" cluster privilege (#43728)
tvernum Jul 1, 2019
b42bcf5
Update TLS configuration in Docker docs (#43748)
dliappis Jul 1, 2019
e094cb0
HLRC changes for kerberos grant type (#43642)
bizybot Jul 1, 2019
b73f4e9
Avoid IP addresses for bootstrapping in setup docs (#43802)
DaveCTurner Jul 1, 2019
03c2b27
Expose translog stats in ReadOnlyEngine (#43752)
tlrx Jul 1, 2019
965f6c6
[ML][Data Frame] reduce audit frequency, change log msg, and level (#…
benwtrent Jul 1, 2019
5ad9103
[ML][Data Frame] account for delay in writing stats docs (#43703)
benwtrent Jul 1, 2019
525f9c0
Optimize Azure Directory Delete (#43341)
original-brownbear Jul 1, 2019
8f77726
Update docs for Open/Close API (#43809)
tlrx Jul 1, 2019
baf155d
Add RareTerms aggregation (#35718)
polyfractal Jul 1, 2019
7cf84f9
Yet another `the the` cleanup (#43815)
Jul 1, 2019
cc47729
Revert "[TEST] Mute RemoteClusterServiceTests.testCollectNodes"
ywelsch Jul 1, 2019
17c7363
Update rare_term version skips, fix SetBackedScalingCuckooFilter javadoc
polyfractal Jul 1, 2019
8a1a000
Add more logging to investigate #41067
ywelsch Jul 1, 2019
1b8070f
Upgrade to Gradle 5.5 (#43788)
mark-vieira Jul 1, 2019
21a368d
Fix logger usage check
ywelsch Jul 1, 2019
8a4a26d
SmokeTestWatcherWithSecurityIT: Retry if failures searching (#43781)
jakelandis Jul 1, 2019
d38a48b
[ML][Data Frame] using transform creation version for node assignment…
benwtrent Jul 1, 2019
eea47bb
[ML][Data Frame] Add deduced mappings to _preview response payload (#…
benwtrent Jul 2, 2019
c1acc69
Add timezone documentation for Painless datetimes (#43768)
jdconrad Jul 2, 2019
dbe1e43
Document API-Key APIs require manage_api_key priv (#43811)
tvernum Jul 2, 2019
de693a2
Rename and refactor RoutingService (#43827)
DaveCTurner Jul 2, 2019
d52972e
Update docs to refer to 6.8 instead of 6.7 (#43685)
spinscale Jul 2, 2019
2f9f41e
Use explicit string keys in data_frame test (#43824)
delvedor Jul 2, 2019
8ed91a3
Disable BWC tests (#43856)
tlrx Jul 2, 2019
c36627d
Fix credentials encoding for OIDC token request (#43808)
jkakavas Jul 2, 2019
f09095c
[ML] Get df-analytics action should require monitor privilege (#43831)
dimitris-athanasiou Jul 2, 2019
c8ca29f
Fix DieWithDignity test when waiting on jps (#43861)
pgomulka Jul 2, 2019
217b875
Remove sort by primary term when reading soft-deletes (#43845)
dnhatn Jul 2, 2019
3cc222e
Return reloaded analyzers in _reload_search_ananlyzer response (#43813)
Jul 2, 2019
fcbf4aa
[ML][Data Frame] fix progress measurement for continuous transforms (…
benwtrent Jul 2, 2019
5ecf669
Clarify voting-only master node docs (#43857)
ywelsch Jul 2, 2019
546c317
[ML-Data Frame] Add data frame transform cluster privileges to HLRC (…
droberts195 Jul 2, 2019
a6743da
Reenable bwc tests (#43872)
tlrx Jul 2, 2019
3e1f73f
Link rare_terms docs from index page (#43882)
polyfractal Jul 2, 2019
d7cc9de
Dry up inputstream to bytesreference (#43675)
original-brownbear Jul 2, 2019
d1c6fb8
Convert replication calls from action.execute to nodeclient (#43834)
rjernst Jul 2, 2019
8f4ae63
[ML][Data Frame] add node attr to GET _stats (#43842)
benwtrent Jul 2, 2019
66e1e56
Add dims parameter to dense_vector mapping (#43444)
mayya-sharipova Jul 2, 2019
66ce3f2
[DOCS] Revise GS intro & remove redundant conceptual info. Closes #43…
debadair Jul 2, 2019
7527157
Add Datetime Now to Painless Documentation (#43852)
jdconrad Jul 2, 2019
bfd8754
Enable caching of rest tests which use integ-test distribution (#43782)
mark-vieira Jul 3, 2019
092d332
Extend timeout for TimeSeriesLifecycleActionsIT> testFullPolicy (#43891)
jakelandis Jul 3, 2019
de891d0
ilm test - allow more time for policy completion (#43844)
jakelandis Jul 3, 2019
21e2735
Always attach system user to internal actions (#43468)
tvernum Jul 3, 2019
bb130f5
Use separate BitSet cache in Doc Level Security (#43669)
tvernum Jul 3, 2019
539a120
Support builtin privileges in get privileges API (#42134)
tvernum Jul 3, 2019
d87c9fd
Refresh translog stats after translog trimming in NoOpEngine (#43825)
tlrx Jul 3, 2019
e28fb1f
Fix index_prefix sub field name on nested text fields (#43862)
jimczi Jul 3, 2019
00a5e5a
Adapt version check after backport
jimczi Jul 3, 2019
d6f36a8
[ML] Set df-analytics task state to failed when appropriate (#43880)
dimitris-athanasiou Jul 3, 2019
e63fd53
Watcher: Allow to execute actions for each element in array (#41997)
spinscale Jul 3, 2019
1f61152
Add _reload_search_analyzers endpoint to HLRC (#43733)
Jul 3, 2019
0a41b13
Remove the client transport profile filter (#43236)
jaymode Jul 3, 2019
8e413f8
Ensure to access RecoveryState#fileDetails under lock
paulward24 Jul 3, 2019
0753b41
[DOCS] Rewrite dis max query (#43586)
jrodewig Jul 3, 2019
120db54
Move CORS Config into :server package (#43779)
Tim-Brooks Jul 3, 2019
e514966
Shortcut simple patterns ending in `*` (#43904)
DaveCTurner Jul 3, 2019
5c6ca8d
Mute failing test
alpar-t Jul 3, 2019
ce760ec
Actually close IndexAnalyzers contents (#43914)
romseygeek Jul 3, 2019
eb92e01
Geo: Refactors libs/geo parser to provide serialization logic as well…
imotov Jul 3, 2019
0f894b6
[ML][Data Frame] Adding bwc tests for pivot transform (#43506)
benwtrent Jul 3, 2019
e84a79a
Enable validating user-supplied missing values on unmapped fields (#4…
not-napoleon Jul 3, 2019
b58c268
Add version 7.4. (#43930)
jpountz Jul 3, 2019
ec74354
Adjust version in vectors tests after backport
mayya-sharipova Jul 3, 2019
c0d5bec
Remove generic on AggregatorFactory (#43664)
polyfractal Jul 3, 2019
baabb75
Ensure test cluster classpath inputs have predictable ordering (#43938)
mark-vieira Jul 3, 2019
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .ci/java-versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ ES_BUILD_JAVA=openjdk12
ES_RUNTIME_JAVA=java11
GRADLE_TASK=build


1 change: 1 addition & 0 deletions .ci/matrix-runtime-javas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ES_RUNTIME_JAVA:
- java11
- java12
- openjdk12
- openjdk13
- zulu11
- zulu12
- corretto11
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ attention.
- Have you followed the [contributor guidelines](https:/elastic/elasticsearch/blob/master/CONTRIBUTING.md)?
- If submitting code, have you built your formula locally prior to submission with `gradle check`?
- If submitting code, is your pull request against master? Unless there is a good reason otherwise, we prefer pull requests against master and will backport as needed.
- If submitting code, have you checked that your submission is for an [OS that we support](https://www.elastic.co/support/matrix#show_os)?
- If submitting code, have you checked that your submission is for an [OS and architecture that we support](https://www.elastic.co/support/matrix#show_os)?
- If you are submitting this code for a class then read our [policy](https:/elastic/elasticsearch/blob/master/CONTRIBUTING.md#contributing-as-part-of-a-class) for that.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ Commercially licensed code that integrates with the rest of Elasticsearch. The
`docs` subdirectory functions just like the top level `docs` subdirectory and
the `qa` subdirectory functions just like the top level `qa` subdirectory. The
`plugin` subdirectory contains the x-pack module which runs inside the
Elasticsearch process. The `transport-client` subdirectory contains extensions
to Elasticsearch's standard transport client to work properly with x-pack.
Elasticsearch process.

### Gradle Build

Expand Down
6 changes: 3 additions & 3 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ curl -XPUT 'http://localhost:9200/kimchy/_doc/2?pretty' -H 'Content-Type: applic

The above will index information into the @kimchy@ index. Each user will get their own special index.

Complete control on the index level is allowed. As an example, in the above case, we would want to change from the default 5 shards with 1 replica per index, to only 1 shard with 1 replica per index (== per twitter user). Here is how this can be done (the configuration can be in yaml as well):
Complete control on the index level is allowed. As an example, in the above case, we might want to change from the default 1 shard with 1 replica per index, to 2 shards with 1 replica per index (because this user tweets a lot). Here is how this can be done (the configuration can be in yaml as well):

<pre>
curl -XPUT http://localhost:9200/another_user?pretty -H 'Content-Type: application/json' -d '
{
"index" : {
"number_of_shards" : 1,
"number_of_shards" : 2,
"number_of_replicas" : 1
}
}'
Expand Down Expand Up @@ -191,7 +191,7 @@ h3. Distributed, Highly Available

Let's face it, things will fail....

Elasticsearch is a highly available and distributed search engine. Each index is broken down into shards, and each shard can have one or more replicas. By default, an index is created with 5 shards and 1 replica per shard (5/1). There are many topologies that can be used, including 1/10 (improve search performance), or 20/1 (improve indexing performance, with search executed in a map reduce fashion across shards).
Elasticsearch is a highly available and distributed search engine. Each index is broken down into shards, and each shard can have one or more replicas. By default, an index is created with 1 shards and 1 replica per shard (1/1). There are many topologies that can be used, including 1/10 (improve search performance), or 20/1 (improve indexing performance, with search executed in a map reduce fashion across shards).

In order to play with the distributed nature of Elasticsearch, simply bring more nodes up and shut down nodes. The system will continue to serve requests (make sure you use the correct http port) with the latest data indexed.

Expand Down
6 changes: 0 additions & 6 deletions TESTING.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,6 @@ e.g. -Dtests.rest.suite=index,get,create/10_with_id
blacklisted and need to be skipped
e.g. -Dtests.rest.blacklist=index/*/Index document,get/10_basic/*

Note that the REST tests, like all the integration tests, can be run against an external
cluster by specifying the `tests.cluster` property, which if present needs to contain a
comma separated list of nodes to connect to (e.g. localhost:9300). A transport client will
be created based on that and used for all the before|after test operations, and to extract
the http addresses of the nodes so that REST requests can be sent to them.

== Testing packaging

The packaging tests use Vagrant virtual machines to verify that installing
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ archivesBaseName = 'elasticsearch-benchmarks'
test.enabled = false

dependencies {
compile("org.elasticsearch:elasticsearch:${version}") {
compile(project(":server")) {
// JMH ships with the conflicting version 4.6. This prevents us from using jopt-simple in benchmarks (which should be ok) but allows
// us to invoke the JMH uberjar as usual.
exclude group: 'net.sf.jopt-simple', module: 'jopt-simple'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.elasticsearch.cluster.ClusterModule;
import org.elasticsearch.cluster.EmptyClusterInfoService;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.cluster.node.DiscoveryNodeRole;
import org.elasticsearch.cluster.routing.ShardRouting;
import org.elasticsearch.cluster.routing.allocation.AllocationService;
import org.elasticsearch.cluster.routing.allocation.FailedShard;
Expand Down Expand Up @@ -92,7 +93,7 @@ public static AllocationDeciders defaultAllocationDeciders(Settings settings, Cl

public static DiscoveryNode newNode(String nodeId, Map<String, String> attributes) {
return new DiscoveryNode("", nodeId, new TransportAddress(TransportAddress.META_ADDRESS,
portGenerator.incrementAndGet()), attributes, Sets.newHashSet(DiscoveryNode.Role.MASTER,
DiscoveryNode.Role.DATA), Version.CURRENT);
portGenerator.incrementAndGet()), attributes, Sets.newHashSet(DiscoveryNodeRole.MASTER_ROLE,
DiscoveryNodeRole.DATA_ROLE), Version.CURRENT);
}
}
99 changes: 5 additions & 94 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ subprojects {

/* Introspect all versions of ES that may be tested against for backwards
* compatibility. It is *super* important that this logic is the same as the
* logic in VersionUtils.java, throwing out alphas because they don't have any
* backwards compatibility guarantees and only keeping the latest beta or rc
* in a branch if there are only betas and rcs in the branch so we have
* *something* to test against. */
* logic in VersionUtils.java. */
BwcVersions versions = new BwcVersions(file('server/src/main/java/org/elasticsearch/Version.java').readLines('UTF-8'))

// build metadata from previous build, contains eg hashes for bwc builds
Expand Down Expand Up @@ -209,68 +206,7 @@ allprojects {
javadoc.options.addStringOption('Xdoclint:all,-missing', '-quiet')
}

/* Sets up the dependencies that we build as part of this project but
register as though they were external to resolve internally. We register
them as external dependencies so the build plugin that we use can be used
to build elasticsearch plugins outside of the elasticsearch source tree. */
ext.projectSubstitutions = [
"org.elasticsearch.gradle:build-tools:${version}": ':build-tools',
"org.elasticsearch:rest-api-spec:${version}": ':rest-api-spec',
"org.elasticsearch:elasticsearch:${version}": ':server',
"org.elasticsearch:elasticsearch-cli:${version}": ':libs:elasticsearch-cli',
"org.elasticsearch:elasticsearch-core:${version}": ':libs:core',
"org.elasticsearch:elasticsearch-nio:${version}": ':libs:nio',
"org.elasticsearch:elasticsearch-x-content:${version}": ':libs:x-content',
"org.elasticsearch:elasticsearch-geo:${version}": ':libs:elasticsearch-geo',
"org.elasticsearch:elasticsearch-secure-sm:${version}": ':libs:secure-sm',
"org.elasticsearch:elasticsearch-ssl-config:${version}": ':libs:elasticsearch-ssl-config',
"org.elasticsearch.client:elasticsearch-rest-client:${version}": ':client:rest',
"org.elasticsearch.client:elasticsearch-rest-client-sniffer:${version}": ':client:sniffer',
"org.elasticsearch.client:elasticsearch-rest-high-level-client:${version}": ':client:rest-high-level',
"org.elasticsearch.client:test:${version}": ':client:test',
"org.elasticsearch.client:transport:${version}": ':client:transport',
"org.elasticsearch.plugin:elasticsearch-scripting-painless-spi:${version}": ':modules:lang-painless:spi',
"org.elasticsearch.test:framework:${version}": ':test:framework',
"org.elasticsearch.test:logger-usage:${version}": ':test:logger-usage',
"org.elasticsearch.xpack.test:feature-aware:${version}": ':x-pack:test:feature-aware',
// for transport client
"org.elasticsearch.plugin:transport-netty4-client:${version}": ':modules:transport-netty4',
"org.elasticsearch.plugin:reindex-client:${version}": ':modules:reindex',
"org.elasticsearch.plugin:lang-mustache-client:${version}": ':modules:lang-mustache',
"org.elasticsearch.plugin:parent-join-client:${version}": ':modules:parent-join',
"org.elasticsearch.plugin:aggs-matrix-stats-client:${version}": ':modules:aggs-matrix-stats',
"org.elasticsearch.plugin:percolator-client:${version}": ':modules:percolator',
"org.elasticsearch.plugin:rank-eval-client:${version}": ':modules:rank-eval',
// for security example plugins
"org.elasticsearch.plugin:x-pack-core:${version}": ':x-pack:plugin:core'
]

/*
* Gradle only resolve project substitutions during dependency resolution but
* we sometimes want to do the resolution at other times. This creates a
* convenient method we can call to do it.
*/
ext.dependencyToProject = { Dependency dep ->
if (dep instanceof ProjectDependency) {
return dep.dependencyProject
} else {
String substitution = projectSubstitutions.get("${dep.group}:${dep.name}:${dep.version}")
if (substitution != null) {
return findProject(substitution)
}
return null
}
}

project.afterEvaluate {
configurations.matching { it.canBeResolved }.all {
resolutionStrategy.dependencySubstitution { DependencySubstitutions subs ->
projectSubstitutions.each { k,v ->
subs.substitute(subs.module(k)).with(subs.project(v))
}
}
}

// Handle javadoc dependencies across projects. Order matters: the linksOffline for
// org.elasticsearch:elasticsearch must be the last one or all the links for the
// other packages (e.g org.elasticsearch.client) will point to server rather than
Expand All @@ -279,10 +215,10 @@ allprojects {
String artifactsHost = VersionProperties.elasticsearch.endsWith("-SNAPSHOT") ? "https://snapshots.elastic.co" : "https://artifacts.elastic.co"
Closure sortClosure = { a, b -> b.group <=> a.group }
Closure depJavadocClosure = { shadowed, dep ->
if (dep.group == null || false == dep.group.startsWith('org.elasticsearch')) {
if ((dep instanceof ProjectDependency) == false) {
return
}
Project upstreamProject = project.ext.dependencyToProject(dep)
Project upstreamProject = dep.dependencyProject
if (upstreamProject == null) {
return
}
Expand Down Expand Up @@ -338,8 +274,8 @@ gradle.projectsEvaluated {
integTest.mustRunAfter test
}
configurations.matching { it.canBeResolved }.all { Configuration configuration ->
dependencies.all { Dependency dep ->
Project upstreamProject = dependencyToProject(dep)
dependencies.matching { it instanceof ProjectDependency }.all { ProjectDependency dep ->
Project upstreamProject = dep.dependencyProject
if (upstreamProject != null) {
if (project.path == upstreamProject.path) {
// TODO: distribution integ tests depend on themselves (!), fix that
Expand Down Expand Up @@ -552,31 +488,6 @@ gradle.projectsEvaluated {
}
}

if (System.properties.get("build.compare") != null) {
apply plugin: 'compare-gradle-builds'
compareGradleBuilds {
ext.referenceProject = System.properties.get("build.compare")
doFirst {
if (file(referenceProject).exists() == false) {
throw new GradleException(
"Use git worktree to check out a version to compare against to ../elasticsearch_build_reference"
)
}
}
sourceBuild {
gradleVersion = gradle.getGradleVersion()
projectDir = referenceProject
tasks = ["clean", "assemble"]
arguments = ["-Dbuild.compare_friendly=true"]
}
targetBuild {
tasks = ["clean", "assemble"]
// use -Dorg.gradle.java.home= to alter jdk versions
arguments = ["-Dbuild.compare_friendly=true"]
}
}
}

allprojects {
task resolveAllDependencies {
dependsOn tasks.matching { it.name == "pullFixture"}
Expand Down
44 changes: 38 additions & 6 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,26 @@ if (JavaVersion.current() < JavaVersion.VERSION_11) {
}

// Keep compatibility with Java 8 for external users of build-tools that haven't migrated to Java 11
targetCompatibility = '8'
sourceCompatibility = '8'
targetCompatibility = '11'
sourceCompatibility = '11'

sourceSets {
// We have a few classes that need to be compiled for older java versions
minimumRuntime { }
}

compileMinimumRuntimeJava {
targetCompatibility = 8
sourceCompatibility = 8
}

jar {
from sourceSets.minimumRuntime.output
}

javadoc {
source sourceSets.minimumRuntime.allSource
}

/*****************************************************************************
* Dependencies used by the entire build *
Expand All @@ -79,8 +97,15 @@ repositories {
}

dependencies {
if (project.ext.has("isEclipse") == false || project.ext.isEclipse == false) {
// eclipse is confused if this is set explicitly
compile sourceSets.minimumRuntime.output
}

compile localGroovy()

compile 'commons-codec:commons-codec:1.12'

compile 'com.netflix.nebula:gradle-extra-configurations-plugin:3.0.3'
compile 'com.netflix.nebula:nebula-publishing-plugin:4.4.4'
compile 'com.netflix.nebula:gradle-info-plugin:3.0.3'
Expand All @@ -94,6 +119,9 @@ dependencies {
testCompile "junit:junit:${props.getProperty('junit')}"
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${props.getProperty('randomizedrunner')}"
testCompile 'com.github.tomakehurst:wiremock-jre8-standalone:2.23.2'
minimumRuntimeCompile "junit:junit:${props.getProperty('junit')}"
minimumRuntimeCompile localGroovy()
minimumRuntimeCompile gradleApi()
}

/*****************************************************************************
Expand Down Expand Up @@ -121,17 +149,14 @@ if (project != rootProject) {
apply plugin: 'nebula.maven-base-publish'
apply plugin: 'nebula.maven-scm'

// we need to apply these again to override the build plugin
targetCompatibility = "10"
sourceCompatibility = "10"

// groovydoc succeeds, but has some weird internal exception...
groovydoc.enabled = false

// build-tools is not ready for primetime with these...
dependencyLicenses.enabled = false
dependenciesInfo.enabled = false
forbiddenApisMain.enabled = false
forbiddenApisMinimumRuntime.enabled = false
forbiddenApisTest.enabled = false
jarHell.enabled = false
thirdPartyAudit.enabled = false
Expand All @@ -148,6 +173,11 @@ if (project != rootProject) {
distribution project(':distribution:archives:linux-tar')
distribution project(':distribution:archives:oss-linux-tar')
}

// for external projects we want to remove the marker file indicating we are running the Elasticsearch project
processResources {
exclude 'buildSrc.marker'
}

String localDownloads = "${rootProject.buildDir}/local-downloads"
task setupLocalDownloads(type:Copy) {
Expand Down Expand Up @@ -178,6 +208,8 @@ if (project != rootProject) {
systemProperty 'test.lucene-snapshot-revision', isLuceneSnapshot[0][1]
}
maxParallelForks System.getProperty('tests.jvms', project.rootProject.ext.defaultParallel.toString()) as Integer
// These tests run Gradle which doesn't have FIPS support
onlyIf { project.inFipsJvm == false }
}
check.dependsOn(integTest)

Expand Down
Loading