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

update #1

Merged
merged 6,894 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
6894 commits
Select commit Hold shift + click to select a range
276f3b8
Avoid leaking blackholed register ops in tests (#114287)
DaveCTurner Oct 9, 2024
c41f1e7
Mute org.elasticsearch.xpack.esql.qa.single_node.RestEsqlIT testProfi…
elasticsearchmachine Oct 9, 2024
f79705d
Skip storing ignored source for single-element leaf arrays (#113937)
kkrik-es Oct 9, 2024
b290352
Mute org.elasticsearch.xpack.inference.services.cohere.CohereServiceT…
elasticsearchmachine Oct 9, 2024
e221c03
Add mappings for OTel event body (#114332)
felixbarny Oct 9, 2024
f389623
Revert "Fix BWC for file-settings based role mappings (#113900)" and …
n1v0lg Oct 9, 2024
e97aaa8
Update forcemerge.asciidoc (#114377)
JohannesMahne Oct 9, 2024
f6bf506
Avoid noisy errors in testSyntheticSourceKeepArrays (#114391)
kkrik-es Oct 9, 2024
cd0f9a4
Mute org.elasticsearch.index.mapper.extras.ScaledFloatFieldMapperTest…
elasticsearchmachine Oct 9, 2024
3953331
Entitlements for System.exit (#114015)
prdoyle Oct 9, 2024
683bf42
Re-enable ScaledFloatFieldMapperTests.testSyntheticSourceKeepArrays (…
kkrik-es Oct 9, 2024
3e06625
Default enable cluster state role mapper (#114337)
n1v0lg Oct 9, 2024
21e3a17
Ensure green step in synonyms rule yaml test (#114400)
kingherc Oct 9, 2024
5b69390
Unmute SecureHdfsSearchableSnapshotsIT
mark-vieira Oct 9, 2024
d29f7a1
Mute org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT te…
elasticsearchmachine Oct 9, 2024
0736bf5
Timeout on buildkite artifact upload but do not fail the build (#114430)
breskeby Oct 9, 2024
b2ed559
Unmute many tests (#114431)
nik9000 Oct 9, 2024
fa859c3
[ML] Remove threading from tests (#113212)
prwhelan Oct 9, 2024
8aabc81
Mute org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT te…
elasticsearchmachine Oct 9, 2024
b3448ed
Mute org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT te…
elasticsearchmachine Oct 9, 2024
e07c935
Bump default timeout for test suites on Windows to 60 minutes (#114428)
mark-vieira Oct 9, 2024
27faf59
Adding chunking settings to GoogleVertexAiService, AzureAiStudioServi…
dan-rubinstein Oct 9, 2024
510a56b
Remove ccs_telemetry feature flag (#113825)
smalyshev Oct 9, 2024
612ce0f
(Doc+) Link API doc to parent object - part2 (#113541)
stefnestor Oct 9, 2024
d907181
Remove type param from `BaseNodesRequest` (#114399)
DaveCTurner Oct 9, 2024
c4815b3
LogsDB `host` and `timestamp` mappings tests (#114001)
salvatore-campagna Oct 9, 2024
adba420
Mute org.elasticsearch.xpack.inference.InferenceRestIT test {p0=infer…
elasticsearchmachine Oct 9, 2024
1becb3e
Prevent flattening of ordered and unordered interval sources (#114234)
jimczi Oct 9, 2024
965061a
Mute org.elasticsearch.xpack.inference.InferenceRestIT test {p0=infer…
elasticsearchmachine Oct 9, 2024
67683cb
[ML] Stream Anthropic Completion (#114321)
prwhelan Oct 9, 2024
db8a2d2
ESQL: Delay construction of warnings (#114368)
nik9000 Oct 9, 2024
1708d9e
Ensure that all rewriteable are called in retrievers (#114366)
jimczi Oct 9, 2024
19ec3d9
Return `_ignored_source` only if explicitly requested via `stored_fie…
salvatore-campagna Oct 9, 2024
ee5be48
IPinfo privacy detection support (#114456)
joegallo Oct 9, 2024
5f25cf9
[ML] Filter empty task settings objects from the API response (#114389)
davidkyle Oct 9, 2024
41f95ed
Azure: Explain why we don't use batch delete (#114379)
nicktindall Oct 10, 2024
c31935e
Mute org.elasticsearch.search.retriever.StandardRetrieverBuilderParsi…
elasticsearchmachine Oct 10, 2024
5f7248b
Mute org.elasticsearch.search.retriever.RankDocsRetrieverBuilderTests…
elasticsearchmachine Oct 10, 2024
e129822
Improve performance of Int3Hash#removeAndAdd (#114383)
iverase Oct 10, 2024
fd40f8b
Mute org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT org.elasticsear…
elasticsearchmachine Oct 10, 2024
4eab631
Add telemetry for retrievers (#114109)
pmpailis Oct 10, 2024
190513d
Update wolfi image and fix breaking change (#114390)
breskeby Oct 10, 2024
c8c6f5a
Actually add `terminate` docs page (#114440)
PeteGillinElastic Oct 10, 2024
3152e41
Refactor change point detection (#114289)
jan-elastic Oct 10, 2024
73c69b5
Fix synonyms CI tests timeout (#114476)
carlosdelest Oct 10, 2024
0d03207
Clean up factory retention settings from elasticsearch (#114396)
gmarouli Oct 10, 2024
5e6541c
Mute org.elasticsearch.packaging.test.DockerTests test022InstallPlugi…
elasticsearchmachine Oct 10, 2024
4d6f195
Reduce double and float precision requirements on rest CSV tests (#11…
ivancea Oct 10, 2024
430ec3b
Fix standard retriever rewrite (#114480)
jimczi Oct 10, 2024
0c3e52c
[Build] Add AGPL license to open source poms (#114403)
breskeby Oct 10, 2024
cbd3613
Give the kibana system user permission to read security entities (#11…
hop-dev Oct 10, 2024
69e63ab
Mute org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT test {yaml…
elasticsearchmachine Oct 10, 2024
27ac1b4
Mute org.elasticsearch.gradle.internal.PublishPluginFuncTest org.elas…
elasticsearchmachine Oct 10, 2024
c27bc08
Handle InternalSendException inline for non-forking handlers (#114375)
ywangd Oct 10, 2024
924205f
ESQL: Use less memory in listener (#114358)
nik9000 Oct 10, 2024
e2c314e
Speed up XPackRestIT a little (#114425)
nik9000 Oct 10, 2024
317b9d8
Mute org.elasticsearch.xpack.inference.DefaultElserIT testInferCreate…
elasticsearchmachine Oct 10, 2024
4122d89
[ES|QL] Named parameter for field names and field name patterns (#112…
fang-xing-esql Oct 10, 2024
388d24f
[CI] Fix PublishPluginFuncTest (#114511)
breskeby Oct 10, 2024
14f0b48
Improve performance of LongObjectPagedHashMap#removeAndAdd and Object…
iverase Oct 10, 2024
d27a9a1
Mute org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT te…
elasticsearchmachine Oct 10, 2024
84625c6
Fix enum switch case error in AlibabaSearchService (#114504)
dan-rubinstein Oct 10, 2024
9ae0140
Improve handling of failure to create persistent task (#114386)
DaveCTurner Oct 10, 2024
8e3b3aa
No longer require logs@settings component template to enable logsdb b…
martijnvg Oct 10, 2024
bef4abe
Mute org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT te…
elasticsearchmachine Oct 10, 2024
4841708
Mute org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT te…
elasticsearchmachine Oct 10, 2024
dbdf22f
Verify Maxmind database types in the geoip processor (#114527)
joegallo Oct 10, 2024
473ced7
[ML] Stream Azure Completion (#114464)
prwhelan Oct 10, 2024
7dd4c5c
Add chunking settings configuration to ElasticsearchService/ELSER (#1…
dan-rubinstein Oct 10, 2024
d378c5a
Adding support for registered country fields for maxmind geoip databa…
masseyke Oct 10, 2024
3358071
Update "Securing Clients and integrations" to include Fleet (#113731)
a03nikki Oct 10, 2024
a0cd389
Add link to NO_COPIES allocation explain message (#113656)
matthewabbott Oct 10, 2024
70d9f09
[ML] Mute tests using mock web server for streaming (#114542)
prwhelan Oct 10, 2024
9bdc590
[ML] Upgrade to AWS SDK v2 (#114309)
prwhelan Oct 11, 2024
4e41234
Updating tests to account for rewritting nested retrievers (#114502)
pmpailis Oct 11, 2024
8a38621
Mute org.elasticsearch.datastreams.logsdb.qa.LogsDbVersusLogsDbReinde…
elasticsearchmachine Oct 11, 2024
34da953
[TEST] Add coverage for field caps and ES|QL to LogsDB QA testing (#1…
kkrik-es Oct 11, 2024
2c1e023
Mute org.elasticsearch.datastreams.logsdb.qa.LogsDbVersusLogsDbReinde…
elasticsearchmachine Oct 11, 2024
1e2b200
Ensure clean thread context in `MasterService` (#114512)
DaveCTurner Oct 11, 2024
5fcfa48
Fix TDigestState.read CB leaks (#114303)
ivancea Oct 11, 2024
a2f3278
Fix `LogsdbTestSuiteIT` unexpected warning (#114481)
salvatore-campagna Oct 11, 2024
a91a9a5
Fix bitset filter cache loading in Stateless (#114191)
kingherc Oct 11, 2024
78dd787
Fix deployment_stats.state for target_allocation_count=0 (#114570)
jan-elastic Oct 11, 2024
bebcaf9
Additional index settings provider validation (#113838)
martijnvg Oct 11, 2024
a9b9172
ES|QL: Add support for cached strings in plan serialization (#112929)
luigidellaquila Oct 11, 2024
46e26c7
Improve exception message for bad environment variable placeholders i…
minkichoe Oct 11, 2024
71274df
Unmute ComparisonTests (#114248)
ivancea Oct 11, 2024
21329f3
Simplifying TextSimilarityRankBuilder to operate through the standard…
pmpailis Oct 11, 2024
227a193
Enable pushing Sort/Filter by ReferenceAttribute down to Lucene, and …
craigtaverner Oct 11, 2024
f59d3e5
Verify `CancellableFanOut` items processed before completion (#114595)
DaveCTurner Oct 11, 2024
4f4b91d
Mute org.elasticsearch.datastreams.logsdb.qa.LogsDbVersusLogsDbReinde…
elasticsearchmachine Oct 11, 2024
7942f3e
Fix dim validation for bit element_type (#114533)
benwtrent Oct 11, 2024
64f6617
ESQL: Push down filters even in case of renames in Evals (#114411)
alex-spies Oct 11, 2024
d8406e4
[Failure store - selector syntax] Refactor IndicesOptions builder (#1…
gmarouli Oct 11, 2024
3529f92
[ML] Add sentence overlap option to the sentence chunking settings (#…
davidkyle Oct 11, 2024
6cc7702
ESQL: Improve error message in test (#114524)
nik9000 Oct 11, 2024
6e78840
Mute org.elasticsearch.xpack.esql.optimizer.PhysicalPlanOptimizerTest…
elasticsearchmachine Oct 11, 2024
8d935fb
Mute org.elasticsearch.xpack.esql.optimizer.PhysicalPlanOptimizerTest…
elasticsearchmachine Oct 11, 2024
589cb8f
Fixing test failure for #114556 (#114617)
benwtrent Oct 11, 2024
d37c1c6
AwaitsFixes for #114625
DaveCTurner Oct 11, 2024
ddd576e
Revert "AwaitsFixes for #114625"
DaveCTurner Oct 11, 2024
e56f24f
SQL: Remove dependency on `org.elasticsearch.Version` (#112094)
bpintea Oct 11, 2024
f77611c
Replace "::<type>" casts to explicit casting functions (#114639)
ivancea Oct 11, 2024
f3cd890
Second parsing pass tracks array scopes properly (#114621)
kkrik-es Oct 11, 2024
085ffc3
Change exception type when timing out waiting for specific seqno in f…
martijnvg Oct 11, 2024
a62228a
Allow stored source in logsdb and tsdb (#114454)
lkts Oct 11, 2024
4c48aa3
ESQL: Retry test on 403 (#114450)
nik9000 Oct 11, 2024
fd9d733
CCS metadata is opt-in in ESQL JSON responses (#114437)
quux00 Oct 11, 2024
e304c1d
ESQL: Speed up grouping by bytes (#114021)
nik9000 Oct 11, 2024
7196768
ESQL: Test partially filtered aggs (#114510)
nik9000 Oct 11, 2024
0ff423e
Mute org.elasticsearch.xpack.inference.integration.ModelRegistryIT te…
elasticsearchmachine Oct 11, 2024
2155f1b
[ES|QL] Add hypot function (#114382)
limotova Oct 11, 2024
f1f5ee0
Replace cloud-ess docker image with wolfi-ess (#114413)
breskeby Oct 11, 2024
049c482
Initial InstrumenterTests (#114422)
prdoyle Oct 11, 2024
3b75d56
Unmute test that does not exist anymore (#114655)
lkts Oct 11, 2024
693fb95
Support IPinfo database configurations (#114548)
joegallo Oct 11, 2024
e65ee92
Move tests out of geo ip processor tests (#114656)
masseyke Oct 11, 2024
6b714e2
[Inference API] Introduce Update API to change some aspects of existi…
maxhniebergall Oct 11, 2024
b23984d
Refactor IPinfoIpDataLookupsTests tests (and others) (#114667)
joegallo Oct 11, 2024
edcabb8
Introduce `index.mapping.source.mode` setting to override `_source.mo…
salvatore-campagna Oct 12, 2024
e833e7b
Add feature flag for subobjects auto (#114616)
martijnvg Oct 12, 2024
bc0d1d7
Avoid throw exception in SyntheticSourceIndexSettingsProvider (#114479)
nicktindall Oct 13, 2024
5f3595b
Add a callback for onConnectionClosed to MockTransportService (#114564)
ywangd Oct 14, 2024
a262eb6
Add ESQL match function (#113374)
carlosdelest Oct 14, 2024
d94fbcb
Add alias event.dataset -> data_stream.dataset (#114642)
gregkalapos Oct 14, 2024
bdce88a
[ML] Feature flag default configs (#114660)
davidkyle Oct 14, 2024
1d03781
Renovate Bot PRs should run ci checks (#114699)
breskeby Oct 14, 2024
08bad48
Simplify NodeShutdownShardsIT (#114583)
idegtiarenko Oct 14, 2024
30ff474
Add generated code changes for HypotEvaluator (#114697)
ioanatia Oct 14, 2024
2af19d8
ES|QL: Restrict sorting for _source and counter field types (#114638)
astefan Oct 14, 2024
2f09fb6
Preserve thread context when waiting for segment generation in RTG (#…
pxsalehi Oct 14, 2024
4ab2e61
Fix failing tests after PR clash (#114625)
craigtaverner Oct 14, 2024
98e0a4e
Guard second doc parsing pass with index setting (#114649)
kkrik-es Oct 14, 2024
c4118c6
Fix termStats posting usage (#114644)
afoucret Oct 14, 2024
8c31d80
Node shutdown test integration test (#114582)
idegtiarenko Oct 14, 2024
7157c0a
Update docker.elastic.co/wolfi/chainguard-base:latest Docker digest t…
elastic-renovate-prod[bot] Oct 14, 2024
af35cad
Mute org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT test {yaml…
elasticsearchmachine Oct 14, 2024
51ea024
Introduce CRUD APIs for data stream options (#113945)
gmarouli Oct 14, 2024
7bd6f2c
Expands semantic_text tutorial with hybrid search (#114398)
kosabogi Oct 14, 2024
4c15cc0
Add ResolvedExpression wrapper (#114592)
gmarouli Oct 14, 2024
8c3d19b
Update IndexSettingProvider#getAdditionalIndexSettings() signature (#…
martijnvg Oct 14, 2024
b78cf6c
Fix Max Score Propagation in RankDocsQuery (#114716)
jimczi Oct 14, 2024
e145199
[ML] Switch default chunking strategy to sentence (#114453)
dan-rubinstein Oct 14, 2024
0c02c2b
Don't close/recreate adaptive allocations metrics (#114721)
jan-elastic Oct 14, 2024
b0aa39f
Simplify `XContent` output of epoch times (#114491)
DaveCTurner Oct 14, 2024
9eab11c
Clarify use of special values for publish addresses (#114551)
DaveCTurner Oct 14, 2024
74522c4
[ML] Pick best model variant for the default elser endpoint (#114690)
davidkyle Oct 14, 2024
7c2e075
[ML] Ignore unrecognized openai sse fields (#114715)
prwhelan Oct 14, 2024
150058e
[ML] Send mid-stream errors to users (#114549)
prwhelan Oct 14, 2024
69b4a9f
Add a query rules tester API call (#114168)
kderusso Oct 14, 2024
c3d53a8
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/10_b…
elasticsearchmachine Oct 14, 2024
35fd893
Mute org.elasticsearch.xpack.eql.EqlRestIT testIndexWildcardPatterns …
elasticsearchmachine Oct 14, 2024
a8de554
Refactor merge scheduling code to allow overrides (#114547)
Tim-Brooks Oct 14, 2024
ee74ce5
[DOCS] ES|QL: Adding a tip to the WHERE documentation (#114050)
KyleOnK8s Oct 14, 2024
fad0d2a
Mute org.elasticsearch.xpack.eql.EqlRestIT testBadRequests #114752
elasticsearchmachine Oct 14, 2024
a9d5fa6
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/20_s…
elasticsearchmachine Oct 14, 2024
f5188af
Remove PushTopNToSource support for ExchangeExec (#114637)
craigtaverner Oct 14, 2024
35e79f8
Test StDistance multivalue consistency and fixed two CartesianPoint b…
craigtaverner Oct 14, 2024
465c65c
Fix Synthetic Source Handling for `bit` Type in `dense_vector` Field …
Rassyan Oct 14, 2024
255cbd6
Mute org.elasticsearch.xpack.rank.rrf.RRFRankClientYamlTestSuiteIT te…
elasticsearchmachine Oct 14, 2024
a7752a3
only return deprecation warning for elser service (#114507)
maxhniebergall Oct 14, 2024
79c5a4f
[ML] Stream Google Completion (#114596)
prwhelan Oct 14, 2024
97d1c41
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/30_t…
elasticsearchmachine Oct 14, 2024
a74ede7
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/20_s…
elasticsearchmachine Oct 14, 2024
01bfdf8
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/10_b…
elasticsearchmachine Oct 14, 2024
8040fbb
[ML] Dynamically get of num allocations (#114636)
davidkyle Oct 14, 2024
a4c0cef
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/20_s…
elasticsearchmachine Oct 14, 2024
a74dbd3
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/50_d…
elasticsearchmachine Oct 14, 2024
45aebb9
Mute org.elasticsearch.xpack.eql.EqlRestValidationIT testDefaultIndic…
elasticsearchmachine Oct 14, 2024
c541144
Mute org.elasticsearch.xpack.enrich.EnrichIT testEnrichSpecialTypes #…
elasticsearchmachine Oct 14, 2024
3b9d55d
Mute org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT t…
elasticsearchmachine Oct 14, 2024
1b321dd
Mute org.elasticsearch.xpack.enrich.EnrichIT testDeleteExistingPipeli…
elasticsearchmachine Oct 14, 2024
50c02f4
Support IPinfo databases in the ip_location processor (#114735)
joegallo Oct 14, 2024
5efba5b
[ML] Default inference endpoint for the multilingual-e5-small model (…
davidkyle Oct 14, 2024
209ee0c
[ML] Stream Bedrock Completion (#114732)
prwhelan Oct 14, 2024
6c752ab
Adding new bbq index types behind a feature flag (#114439)
benwtrent Oct 15, 2024
025f6bb
Add IndicesMetrics instead of IndicesService to toClose (#114782)
ywangd Oct 15, 2024
9f2fbf3
Mute org.elasticsearch.test.rest.ClientYamlTestSuiteIT org.elasticsea…
elasticsearchmachine Oct 15, 2024
dd64342
Mute org.elasticsearch.xpack.inference.rest.ServerSentEventsRestActio…
elasticsearchmachine Oct 15, 2024
a41e897
Mute org.elasticsearch.xpack.eql.EqlRestValidationIT testAllowNoIndic…
elasticsearchmachine Oct 15, 2024
e943ceb
Mute org.elasticsearch.xpack.eql.EqlStatsIT testEqlRestUsage #114790
elasticsearchmachine Oct 15, 2024
8446cc7
ESQL: Add skips to tests that were added retroactively (#114727)
alex-spies Oct 15, 2024
7ad1a0c
Remove snapshot build restriction for match and qstr functions (#114482)
carlosdelest Oct 15, 2024
d102659
ESQL: Introduce per agg filter (#113735)
costin Oct 15, 2024
4eda4a3
Skip spatial.AirportsSortCityName before 8.13 (#114795)
alex-spies Oct 15, 2024
162dce5
Remove unused v7-only APIs (#114733)
DaveCTurner Oct 15, 2024
4676341
Mute org.elasticsearch.xpack.eql.EqlRestIT testUnicodeChars #114791
elasticsearchmachine Oct 15, 2024
98c9a70
[TestFix] ExplainLifecycleIT testStepInfoPreservedOnAutoRetry failing…
lukewhiting Oct 15, 2024
44df062
Remove v7 compat from `{PUT,DELETE} /_snapshot/${REPO}` APIs (#114726)
DaveCTurner Oct 15, 2024
551a7d6
[TEST] Migrated ccs-unavailable-clusters QA tests (#114764)
jozala Oct 15, 2024
4d775cb
Add documentation for passthrough field type (#114720)
kkrik-es Oct 15, 2024
6620be3
Remove all v7-only REST endpoints (#114765)
DaveCTurner Oct 15, 2024
8240945
Remove unused `ChunkedToXContent#toXContentChunkedV7` (#114728)
DaveCTurner Oct 15, 2024
bd6eeca
[ML] Wait for allocation on scale up from 0 (#114719)
davidkyle Oct 15, 2024
56d5abc
Mute org.elasticsearch.xpack.rank.rrf.RRFRetrieverBuilderNestedDocsIT…
elasticsearchmachine Oct 15, 2024
8cf2cb3
Fix minor formatting issue (#114815)
kkrik-es Oct 15, 2024
fc23f2f
[DOCS] Fix User agent processor properties (#112518)
pquentin Oct 15, 2024
88ff578
Mute org.elasticsearch.ingest.geoip.HttpClientTests org.elasticsearch…
elasticsearchmachine Oct 15, 2024
f8074f4
Mute org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityWithA…
elasticsearchmachine Oct 15, 2024
39168e1
[EIS] Validate EIS Gateway URL if set (#114600)
timgrein Oct 15, 2024
37f03dc
#111893 Add Warnings For Missing Index Templates (#114589)
lukewhiting Oct 15, 2024
24b26f2
Mute org.elasticsearch.xpack.enrich.EnrichIT testImmutablePolicy #114839
elasticsearchmachine Oct 15, 2024
6ec7a9a
Introduce utils for _really_ stashing the thread context (#114786)
DaveCTurner Oct 15, 2024
075cd24
[TEST] Fix ccs-unavailable-clusters QA tests build (#114833)
jozala Oct 15, 2024
81976b2
Mark Data Stream Lifecycle APIs to stable (#114780)
nielsbauman Oct 15, 2024
97c207c
Remove all replaced-in-v8 REST endpoints (#114800)
DaveCTurner Oct 15, 2024
38d9710
Set min number of allocations for ElasticSearchInternalService to 0 (…
dan-rubinstein Oct 15, 2024
2f1f24d
Updating queries used in rrf with text similarity tests (#114838)
pmpailis Oct 15, 2024
e87b894
Fix bbq index feature exposure for testing & remove feature flag (#11…
benwtrent Oct 15, 2024
3af4d67
Allow synthetic source and disabled source for standard indices (#114…
salvatore-campagna Oct 15, 2024
5e59ab5
ESQL: Fix grammar changes around per agg filtering (#114848)
costin Oct 15, 2024
630af38
[ML] Create an ml node inference endpoint referencing an existing dep…
davidkyle Oct 15, 2024
403f1e1
Support multi-valued fields in compute engine for ST_DISTANCE (#114836)
craigtaverner Oct 15, 2024
4fa8485
Ensuring consistent ordering for inner hits in collapse test for rrf …
pmpailis Oct 15, 2024
2697f85
Revert "[ML] Dynamically get of num allocations (#114636)" (#114861)
mark-vieira Oct 15, 2024
837c0e8
Mute org.elasticsearch.license.LicensingTests org.elasticsearch.licen…
elasticsearchmachine Oct 15, 2024
16864e9
Retry throttled snapshot deletions (#113237)
nicktindall Oct 15, 2024
c401a71
Make mapping a distinct concept in logsdb data generation (#114370)
lkts Oct 15, 2024
69054ac
Download IPinfo ip location databases (#114847)
joegallo Oct 15, 2024
8ccfb22
Revert "[EIS] Validate EIS Gateway URL if set (#114600)" (#114867)
mark-vieira Oct 15, 2024
917903d
[ML] Unmute MlJobIT tests (#114553)
edsavage Oct 16, 2024
bc0a6e8
Fixing randomization issue for RRFRetrieverBuilderNestedDocsIT (#114859)
pmpailis Oct 16, 2024
b558cb0
Mute org.elasticsearch.datastreams.logsdb.qa.LogsDbVersusLogsDbReinde…
elasticsearchmachine Oct 16, 2024
6a6b707
Mute org.elasticsearch.xpack.enrich.EnrichIT testDeleteIsCaseSensitiv…
elasticsearchmachine Oct 16, 2024
ef22601
Remove dead branches for v7 REST API (#114850)
DaveCTurner Oct 16, 2024
a7e62f5
Removing tech-preview header and updating documentation for retriever…
pmpailis Oct 16, 2024
9082e02
Retry `S3BlobContainer#getRegister` on all exceptions (#114813)
DaveCTurner Oct 16, 2024
80c163e
OTel mappings: avoid metrics to be rejected when attributes are malf…
felixbarny Oct 16, 2024
64e8659
#104411 Add warning headers for ingest pipelines containing special c…
lukewhiting Oct 16, 2024
5271b20
[Failure store - selector syntax] Replace failureOptions with selecto…
gmarouli Oct 16, 2024
64f2c42
Mute org.elasticsearch.packaging.test.EnrollmentProcessTests test20Do…
elasticsearchmachine Oct 16, 2024
ae452be
Document _cat/indices behavior when encountering source only indices …
pxsalehi Oct 16, 2024
15c1051
Inline `MockTransportService#getLocalDiscoNode()` (#114883)
DaveCTurner Oct 16, 2024
4fd6218
Better DataType string checks (#114863)
ioanatia Oct 16, 2024
f13e495
Fix NPE in AdaptiveAllocationsScalerService (#114880)
jan-elastic Oct 16, 2024
0fd5839
ESQL: Fix MvPercentileTests precision issues (#114844)
ivancea Oct 16, 2024
5faf0cd
Remove the min_compatible_shard_node option and associated classes (#…
thecoop Oct 16, 2024
1a611bd
Fixes flaky ST_CENTROID_AGG tests (#114892)
craigtaverner Oct 16, 2024
1c0e292
Fix ST_CENTROID_AGG when no records are aggregated (#114888)
craigtaverner Oct 16, 2024
7ce484d
Mute org.elasticsearch.test.rest.ClientYamlTestSuiteIT test {yaml=clu…
elasticsearchmachine Oct 16, 2024
8935aad
Mute org.elasticsearch.xpack.enrich.EnrichRestIT test {p0=enrich/40_s…
elasticsearchmachine Oct 16, 2024
8ae5ca4
Reset array scope tracking for nested objects (#114891)
kkrik-es Oct 16, 2024
58b588c
ESQL: adapt to new range in ToDatetimeTests (#114605)
bpintea Oct 16, 2024
0cd306f
Fix setOnce in EmbeddingRequestChunker (#114900)
jan-elastic Oct 16, 2024
ccf6ab9
[DOCS] Adds link to tutorial and API docs to trained model autoscalin…
szabosteve Oct 16, 2024
ff7ea10
Mute org.elasticsearch.xpack.inference.DefaultEndPointsIT testInferDe…
elasticsearchmachine Oct 16, 2024
9bf6e3b
Inject the `host.name` field mapping only if required for `logsdb` in…
salvatore-campagna Oct 16, 2024
f6a1e36
Replace usages of `_source.mode` in documentation (#114743)
salvatore-campagna Oct 16, 2024
c76fd00
(Doc+) link video for resolving shards too large (#114915)
stefnestor Oct 16, 2024
bd754f7
(Doc+) Cross-link max shards (#114670)
stefnestor Oct 16, 2024
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
Prev Previous commit
Next Next commit
Reset array scope tracking for nested objects (elastic#114891)
* Reset array scope tracking for nested objects

* update

* update

* update
  • Loading branch information
kkrik-es authored Oct 16, 2024
commit 8ae5ca468df88049ceeb6c8eda538e4131a325e5
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/114839
- class: org.elasticsearch.license.LicensingTests
issue: https://github.com/elastic/elasticsearch/issues/114865
- class: org.elasticsearch.datastreams.logsdb.qa.LogsDbVersusLogsDbReindexedIntoStandardModeChallengeRestIT
method: testTermsQuery
issue: https://github.com/elastic/elasticsearch/issues/114873
- class: org.elasticsearch.xpack.enrich.EnrichIT
method: testDeleteIsCaseSensitive
issue: https://github.com/elastic/elasticsearch/issues/114840
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public int get() {
private final Set<String> ignoredFields;
private final List<IgnoredSourceFieldMapper.NameValue> ignoredFieldValues;
private final List<IgnoredSourceFieldMapper.NameValue> ignoredFieldsMissingValues;
private final boolean inArrayScopeEnabled;
private boolean inArrayScopeEnabled;
private boolean inArrayScope;

private final Map<String, List<Mapper>> dynamicMappers;
Expand Down Expand Up @@ -376,13 +376,14 @@ public final Collection<IgnoredSourceFieldMapper.NameValue> getIgnoredFieldsMiss
* Applies to synthetic source only.
*/
public final DocumentParserContext maybeCloneForArray(Mapper mapper) throws IOException {
if (canAddIgnoredField() && mapper instanceof ObjectMapper && inArrayScopeEnabled) {
boolean isNested = mapper instanceof NestedObjectMapper;
if ((inArrayScope == false && isNested == false) || (inArrayScope && isNested)) {
DocumentParserContext subcontext = switchParser(parser());
subcontext.inArrayScope = inArrayScope == false;
return subcontext;
}
if (canAddIgnoredField()
&& mapper instanceof ObjectMapper
&& mapper instanceof NestedObjectMapper == false
&& inArrayScope == false
&& inArrayScopeEnabled) {
DocumentParserContext subcontext = switchParser(parser());
subcontext.inArrayScope = true;
return subcontext;
}
return this;
}
Expand Down Expand Up @@ -709,12 +710,18 @@ public final DocumentParserContext createNestedContext(NestedObjectMapper nested
* Return a new context that has the provided document as the current document.
*/
public final DocumentParserContext switchDoc(final LuceneDocument document) {
return new Wrapper(this.parent, this) {
DocumentParserContext cloned = new Wrapper(this.parent, this) {
@Override
public LuceneDocument doc() {
return document;
}
};
// Disable tracking array scopes for ignored source, as it would be added to the parent doc.
// Nested documents are added to preserve object structure within arrays of objects, so the use
// of ignored source for arrays inside them should be mostly redundant.
cloned.inArrayScope = false;
cloned.inArrayScopeEnabled = false;
return cloned;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,36 @@ public void testConflictingFieldNameAfterArray() throws IOException {
{"path":{"id":0.1,"to":{"id":[1,20,3,10]}}}""", syntheticSource);
}

public void testArrayWithNestedObjects() throws IOException {
DocumentMapper documentMapper = createMapperService(syntheticSourceMapping(b -> {
b.startObject("path").startObject("properties");
{
b.startObject("to").field("type", "nested").startObject("properties");
{
b.startObject("id").field("type", "integer").field("synthetic_source_keep", "arrays").endObject();
}
b.endObject().endObject();
}
b.endObject().endObject();
})).documentMapper();

var syntheticSource = syntheticSource(documentMapper, b -> {
b.startArray("path");
{
b.startObject().startArray("to");
{
b.startObject().array("id", 1, 20, 3).endObject();
b.startObject().field("id", 10).endObject();
}
b.endArray().endObject();
b.startObject().startObject("to").field("id", "0.1").endObject().endObject();
}
b.endArray();
});
assertEquals("""
{"path":{"to":[{"id":[1,20,3]},{"id":10},{"id":0}]}}""", syntheticSource);
}

public void testArrayWithinArray() throws IOException {
DocumentMapper documentMapper = createMapperService(syntheticSourceMapping(b -> {
b.startObject("path");
Expand Down