You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Obsolete("Use GetMappingFor explicitly instead this is a leaky abstraction that returns the mapping of the first index's first type on the response")]
49
+
[Obsolete("Recommended to use GetMappingFor, this is a leaky abstraction that returns the mapping of the first index's first type on the response")]
[Obsolete("Only valid for indices created before Elasticsearch 5.0 and will be removed in the next major version. For newly created indices, use `text` or `keyword` instead.")]
Copy file name to clipboardExpand all lines: src/Nest/Mapping/TypeMapping.cs
-26Lines changed: 0 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,6 @@ public interface ITypeMapping
17
17
[JsonProperty("numeric_detection")]
18
18
bool?NumericDetection{get;set;}
19
19
20
-
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
21
-
[JsonProperty("analyzer")]
22
-
stringAnalyzer{get;set;}
23
-
24
-
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
25
-
[JsonProperty("search_analyzer")]
26
-
stringSearchAnalyzer{get;set;}
27
-
28
20
[JsonProperty("_source")]
29
21
ISourceFieldSourceField{get;set;}
30
22
@@ -82,12 +74,6 @@ public class TypeMapping : ITypeMapping
82
74
/// <inheritdoc/>
83
75
publicIRoutingFieldRoutingField{get;set;}
84
76
/// <inheritdoc/>
85
-
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
86
-
publicstringAnalyzer{get;set;}
87
-
/// <inheritdoc/>
88
-
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
89
-
publicstringSearchAnalyzer{get;set;}
90
-
/// <inheritdoc/>
91
77
publicISizeFieldSizeField{get;set;}
92
78
/// <inheritdoc/>
93
79
publicISourceFieldSourceField{get;set;}
@@ -108,10 +94,6 @@ public class TypeMappingDescriptor<T> : DescriptorBase<TypeMappingDescriptor<T>,
108
94
bool?ITypeMapping.NumericDetection{get;set;}
109
95
IPropertiesITypeMapping.Properties{get;set;}
110
96
IRoutingFieldITypeMapping.RoutingField{get;set;}
111
-
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
112
-
stringITypeMapping.Analyzer{get;set;}
113
-
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
114
-
stringITypeMapping.SearchAnalyzer{get;set;}
115
97
ISizeFieldITypeMapping.SizeField{get;set;}
116
98
ISourceFieldITypeMapping.SourceField{get;set;}
117
99
@@ -144,14 +126,6 @@ public TypeMappingDescriptor<T> AutoMap<TDocument>(IPropertyVisitor visitor = nu
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
[Obsolete("Scheduled to be removed in 6.0. Default analyzers can no longer be specified at the type level. Use an index or field level analyzer instead.")]
0 commit comments