Skip to content

Commit c5d888f

Browse files
authored
Merge branch 'main' into fix/143368
2 parents 062e142 + 3d65e95 commit c5d888f

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

server/src/main/java/org/elasticsearch/index/mapper/MapperFeatures.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public class MapperFeatures implements FeatureSpecification {
7474
static final NodeFeature MV_MIN_FUNCTION_FUSE_TO_LOAD = new NodeFeature("mapper.keyword.mv_min_function_fuse_to_load");
7575
static final NodeFeature TDIGEST_TYPE = new NodeFeature("mapper.tdigest_type");
7676
public static final NodeFeature TEXT_FIELD_DOC_VALUES = new NodeFeature("mapper.text.doc_values");
77+
static final NodeFeature DENSE_VECTOR_DYNAMIC_TEMPLATE_DOTTED_FIELD_FIX = new NodeFeature(
78+
"mapper.dense_vector.dynamic_template_dotted_field_fix"
79+
);
7780

7881
@Override
7982
public Set<NodeFeature> getTestFeatures() {
@@ -127,7 +130,8 @@ public Set<NodeFeature> getTestFeatures() {
127130
HIGH_CARDINALITY_LENGTH_FUNCTION_FUSE_TO_LOAD,
128131
MV_MIN_FUNCTION_FUSE_TO_LOAD,
129132
TDIGEST_TYPE,
130-
TEXT_FIELD_DOC_VALUES
133+
TEXT_FIELD_DOC_VALUES,
134+
DENSE_VECTOR_DYNAMIC_TEMPLATE_DOTTED_FIELD_FIX
131135
);
132136
}
133137
}

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,10 @@ static RoleDescriptor kibanaSystem(String name) {
345345
)
346346
.build(),
347347
// Kibana logs streams
348-
RoleDescriptor.IndicesPrivileges.builder().indices("logs", "logs.*").privileges("read", "manage").build(),
348+
RoleDescriptor.IndicesPrivileges.builder()
349+
.indices("logs", "logs.*", "$.logs", "$.logs.*")
350+
.privileges("read", "manage")
351+
.build(),
349352
// Kibana Security Solution EDR workflows team
350353
// - `.endpoint-script-file*`:
351354
// indexes are used internally within Kibana in support of Elastic Defend scripts library.

x-pack/plugin/rank-vectors/src/main/java/org/elasticsearch/xpack/rank/vectors/RankVectorsFeatures.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@
1414

1515
public class RankVectorsFeatures implements FeatureSpecification {
1616
public static final NodeFeature RANK_VECTORS_FEATURE = new NodeFeature("rank_vectors");
17+
static final NodeFeature RANK_VECTORS_DYNAMIC_TEMPLATE_DOTTED_FIELD_FIX = new NodeFeature(
18+
"mapper.rank_vectors.dynamic_template_dotted_field_fix"
19+
);
1720

1821
@Override
1922
public Set<NodeFeature> getTestFeatures() {
20-
return Set.of(RANK_VECTORS_FEATURE);
23+
return Set.of(RANK_VECTORS_FEATURE, RANK_VECTORS_DYNAMIC_TEMPLATE_DOTTED_FIELD_FIX);
2124
}
2225

2326
}

0 commit comments

Comments
 (0)