Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonpijpelink committed Dec 4, 2023
2 parents 181f2be + 605c76e commit ec63587
Show file tree
Hide file tree
Showing 962 changed files with 31,469 additions and 6,818 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
import org.elasticsearch.xpack.esql.expression.function.scalar.date.DateTrunc;
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Abs;
import org.elasticsearch.xpack.esql.expression.function.scalar.multivalue.MvMin;
import org.elasticsearch.xpack.esql.expression.predicate.operator.arithmetic.Add;
import org.elasticsearch.xpack.esql.planner.Layout;
import org.elasticsearch.xpack.esql.type.EsqlDataTypes;
import org.elasticsearch.xpack.ql.expression.FieldAttribute;
import org.elasticsearch.xpack.ql.expression.Literal;
import org.elasticsearch.xpack.ql.expression.predicate.operator.arithmetic.Add;
import org.elasticsearch.xpack.ql.tree.Source;
import org.elasticsearch.xpack.ql.type.DataTypes;
import org.elasticsearch.xpack.ql.type.EsField;
Expand Down Expand Up @@ -61,6 +61,11 @@
public class EvalBenchmark {
private static final int BLOCK_LENGTH = 8 * 1024;

static final DriverContext driverContext = new DriverContext(
BigArrays.NON_RECYCLING_INSTANCE,
BlockFactory.getInstance(new NoopCircuitBreaker("noop"), BigArrays.NON_RECYCLING_INSTANCE)
);

static {
// Smoke test all the expected values and force loading subclasses more like prod
try {
Expand All @@ -72,11 +77,6 @@ public class EvalBenchmark {
}
}

static final DriverContext driverContext = new DriverContext(
BigArrays.NON_RECYCLING_INSTANCE,
BlockFactory.getInstance(new NoopCircuitBreaker("noop"), BigArrays.NON_RECYCLING_INSTANCE)
);

@Param({ "abs", "add", "date_trunc", "equal_to_const", "long_equal_to_long", "long_equal_to_int", "mv_min", "mv_min_ascending" })
public String operation;

Expand Down
4 changes: 2 additions & 2 deletions build-tools-internal/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=f2b9ed0faf8472cbe469255ae6c86eddb77076c75191741b4a462f33128dd419
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
distributionSha256Sum=c16d517b50dd28b3f5838f0e844b7520b8f1eb610f2f29de7e4e04a1b7c9c79b
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:eql:qa:correctness");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:eql:qa:mixed-node");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:esql:qa:security");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:esql:qa:server:heap-attack");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:esql:qa:server:multi-node");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:esql:qa:server:single-node");
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:fleet:qa:rest");
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.4
8.5
2 changes: 1 addition & 1 deletion build-tools-internal/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
elasticsearch = 8.12.0
lucene = 9.8.0
lucene = 9.9.0

bundled_jdk_vendor = openjdk
bundled_jdk = 21.0.1+12@415e3f918a1f4062a0074a2794853d0d
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ public void beforeStart() {
} catch (IOException e) {
logger.warn("Unable to start APM server", e);
}
} else {
// metrics are enabled by default, if the --with-apm-server was not used we should disable it
} else if (node.getSettingKeys().contains("telemetry.metrics.enabled") == false) {
// in serverless metrics are enabled by default
// if metrics were not enabled explicitly for gradlew run we should disable them
node.setting("telemetry.metrics.enabled", "false");
}

Expand Down
2 changes: 1 addition & 1 deletion distribution/docker/src/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<% if (docker_base == 'iron_bank') { %>
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=redhat/ubi/ubi9
ARG BASE_IMAGE=ironbank/redhat/ubi/ubi9
ARG BASE_TAG=9.2
<% } %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
import static org.mockito.Mockito.spy;

@LuceneTestCase.SuppressFileSystems("*")
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/102783")
public class InstallPluginActionTests extends ESTestCase {

private InstallPluginAction skipJarHellAction;
Expand Down
4 changes: 2 additions & 2 deletions docs/Versions.asciidoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

include::{docs-root}/shared/versions/stack/{source_branch}.asciidoc[]

:lucene_version: 9.8.0
:lucene_version_path: 9_8_0
:lucene_version: 9.9.0
:lucene_version_path: 9_9_0
:jdk: 11.0.2
:jdk_major: 11
:build_type: tar
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/102032.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102032
summary: Add vector_operation_count in profile output for knn searches
area: Vector Search
type: enhancement
issues: []
14 changes: 14 additions & 0 deletions docs/changelog/102093.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pr: 102093
summary: Add byte quantization for float vectors in HNSW
area: Vector Search
type: feature
issues: []
highlight:
title: Add new `int8_hsnw` index type for int8 quantization for HNSW
body: |-
This commit adds a new index type called `int8_hnsw`. This index will
automatically quantized float32 values into int8 byte values. While
this increases disk usage by 25%, it reduces memory required for
fast HNSW search by 75%. Dramatically reducing the resource overhead
required for dense vector search.
notable: true
5 changes: 5 additions & 0 deletions docs/changelog/102177.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102177
summary: "GEO_POINT and CARTESIAN_POINT type support"
area: ES|QL
type: feature
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/102456.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 102456
summary: Switch logs data streams to search all fields by default
area: Data streams
type: enhancement
issues:
- 99872
5 changes: 5 additions & 0 deletions docs/changelog/102713.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102713
summary: "ESQL: Add `profile` option"
area: ES|QL
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102727.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102727
summary: "ESQL: Load stored fields sequentially"
area: ES|QL
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102731.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102731
summary: Add internal inference action for ml models an services
area: Machine Learning
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102734.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102734
summary: Allow match field in enrich fields
area: ES|QL
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102740.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102740
summary: "[Profiling] Notify early about task cancellation"
area: Application
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/102767.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 102767
summary: "ESQL: remove `time_zone` request parameter"
area: ES|QL
type: bug
issues:
- 102159
5 changes: 5 additions & 0 deletions docs/changelog/102779.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102779
summary: Allow mismatched sort-by field types if there are no docs to sort
area: Search
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102782.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102782
summary: Upgrade to Lucene 9.9.0
area: Search
type: upgrade
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102806.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102806
summary: Support for GET all models and by task type in the `_inference` API
area: Machine Learning
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/102808.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 102808
summary: Active shards message corrected for search shards
area: Distributed
type: bug
issues:
- 101896
5 changes: 5 additions & 0 deletions docs/changelog/102810.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102810
summary: Add memory utilization Kibana metric to the monitoring index templates
area: Monitoring
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/102811.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 102811
summary: Split comma-separated source index strings into separate indices
area: Transform
type: bug
issues:
- 99564
5 changes: 5 additions & 0 deletions docs/changelog/102821.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102821
summary: Better processor stat merge
area: Ingest Node
type: bug
issues: []
9 changes: 9 additions & 0 deletions docs/changelog/102831.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pr: 102831
summary: Fix memory tracking in TopN.Row
area: ES|QL
type: bug
issues:
- 100640
- 102784
- 102790
- 102683
5 changes: 5 additions & 0 deletions docs/changelog/102832.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102832
summary: Disable concurrency for sampler and diversified sampler
area: Aggregations
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102840.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102840
summary: Fail S3 repository analysis on partial reads
area: Snapshot/Restore
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102844.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102844
summary: Skip global ordinals loading if query does not match after rewrite
area: Aggregations
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102848.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102848
summary: Decref `SharedBytes.IO` after read is done not before
area: Snapshot/Restore
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/102877.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 102877
summary: Add basic telelemetry for the inference feature
area: Machine Learning
type: enhancement
issues: []
7 changes: 7 additions & 0 deletions docs/changelog/102891.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pr: 102891
summary: "[Query Rules] Fix bug where combining the same metadata with text/numeric\
\ values leads to error"
area: Application
type: bug
issues:
- 102827
5 changes: 5 additions & 0 deletions docs/changelog/99445.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 99445
summary: Make cosine similarity faster by storing magnitude and normalizing vectors
area: Vector Search
type: enhancement
issues: []
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_boolean.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_datetime.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_degrees.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_double.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_integer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/reference/esql/functions/signature/to_ip.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_long.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_radians.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/reference/esql/functions/types/mv_count.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
|===
v | result
boolean | integer
cartesian_point | integer
datetime | integer
double | integer
geo_point | integer
integer | integer
ip | integer
keyword | integer
Expand Down
11 changes: 11 additions & 0 deletions docs/reference/esql/functions/types/to_boolean.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
boolean | boolean
double | boolean
integer | boolean
keyword | boolean
long | boolean
text | boolean
unsigned_long | boolean
|===
11 changes: 11 additions & 0 deletions docs/reference/esql/functions/types/to_datetime.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
datetime | datetime
double | datetime
integer | datetime
keyword | datetime
long | datetime
text | datetime
unsigned_long | datetime
|===
8 changes: 8 additions & 0 deletions docs/reference/esql/functions/types/to_degrees.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
double | double
integer | double
long | double
unsigned_long | double
|===
12 changes: 12 additions & 0 deletions docs/reference/esql/functions/types/to_double.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
boolean | double
datetime | double
double | double
integer | double
keyword | double
long | double
text | double
unsigned_long | double
|===
12 changes: 12 additions & 0 deletions docs/reference/esql/functions/types/to_integer.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
boolean | integer
datetime | integer
double | integer
integer | integer
keyword | integer
long | integer
text | integer
unsigned_long | integer
|===
3 changes: 2 additions & 1 deletion docs/reference/esql/functions/types/to_ip.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
arg1 | result
v | result
ip | ip
keyword | ip
text | ip
|===
14 changes: 14 additions & 0 deletions docs/reference/esql/functions/types/to_long.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
boolean | long
cartesian_point | long
datetime | long
double | long
geo_point | long
integer | long
keyword | long
long | long
text | long
unsigned_long | long
|===
Loading

0 comments on commit ec63587

Please sign in to comment.