Skip to content

Commit 926ac8f

Browse files
authored
Mark runtime fields as beta for 7.11 (#5312)
1 parent 1aff47f commit 926ac8f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Nest/Mapping/TypeMapping.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public interface ITypeMapping
9898

9999
/// <summary>
100100
/// Specifies runtime fields for the mapping.
101+
/// <para>This functionality is in beta and is subject to change. </para>
101102
/// </summary>
102103
[DataMember(Name = "runtime")]
103104
IRuntimeFields RuntimeFields { get; set; }
@@ -269,6 +270,7 @@ public TypeMappingDescriptor<T> DisableIndexField(bool? disabled = true) =>
269270
public TypeMappingDescriptor<T> RoutingField(Func<RoutingFieldDescriptor<T>, IRoutingField> routingFieldSelector) =>
270271
Assign(routingFieldSelector, (a, v) => a.RoutingField = v?.Invoke(new RoutingFieldDescriptor<T>()));
271272

273+
/// <inheritdoc cref="ITypeMapping.RuntimeFields" />
272274
public TypeMappingDescriptor<T> RuntimeFields(Func<RuntimeFieldsDescriptor<T>, IPromise<IRuntimeFields>> runtimeFieldsSelector) =>
273275
Assign(runtimeFieldsSelector, (a, v) => a.RuntimeFields = v?.Invoke(new RuntimeFieldsDescriptor<T>())?.Value);
274276

src/Nest/Search/Search/SearchRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public partial interface ISearchRequest : ITypedSearchRequest
182182

183183
/// <summary>
184184
/// Specifies runtime fields which exist only as part of the query.
185+
/// <para>This functionality is in beta and is subject to change. </para>
185186
/// </summary>
186187
[DataMember(Name = "runtime_mappings")]
187188
IRuntimeFields RuntimeFields { get; set; }

0 commit comments

Comments
 (0)